Class DescribeExportTasksRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.logs.model.DescribeExportTasksRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeExportTasksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeExportTasksRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeExportTasksRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Integer
getLimit()
The maximum number of items returned in the response.String
getNextToken()
A string token used for pagination that points to the next page of results.String
getStatusCode()
All export tasks that matches the specified status code will be returned.String
getTaskId()
Export task that matches the specified task Id will be returned.int
hashCode()
void
setLimit(Integer limit)
The maximum number of items returned in the response.void
setNextToken(String nextToken)
A string token used for pagination that points to the next page of results.void
setStatusCode(ExportTaskStatusCode statusCode)
All export tasks that matches the specified status code will be returned.void
setStatusCode(String statusCode)
All export tasks that matches the specified status code will be returned.void
setTaskId(String taskId)
Export task that matches the specified task Id will be returned.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeExportTasksRequest
withLimit(Integer limit)
The maximum number of items returned in the response.DescribeExportTasksRequest
withNextToken(String nextToken)
A string token used for pagination that points to the next page of results.DescribeExportTasksRequest
withStatusCode(ExportTaskStatusCode statusCode)
All export tasks that matches the specified status code will be returned.DescribeExportTasksRequest
withStatusCode(String statusCode)
All export tasks that matches the specified status code will be returned.DescribeExportTasksRequest
withTaskId(String taskId)
Export task that matches the specified task Id will be returned.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setTaskId
public void setTaskId(String taskId)
Export task that matches the specified task Id will be returned. This can result in zero or one export task.
- Parameters:
taskId
- Export task that matches the specified task Id will be returned. This can result in zero or one export task.
-
getTaskId
public String getTaskId()
Export task that matches the specified task Id will be returned. This can result in zero or one export task.
- Returns:
- Export task that matches the specified task Id will be returned. This can result in zero or one export task.
-
withTaskId
public DescribeExportTasksRequest withTaskId(String taskId)
Export task that matches the specified task Id will be returned. This can result in zero or one export task.
- Parameters:
taskId
- Export task that matches the specified task Id will be returned. This can result in zero or one export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatusCode
public void setStatusCode(String statusCode)
All export tasks that matches the specified status code will be returned. This can return zero or more export tasks.
- Parameters:
statusCode
- All export tasks that matches the specified status code will be returned. This can return zero or more export tasks.- See Also:
ExportTaskStatusCode
-
getStatusCode
public String getStatusCode()
All export tasks that matches the specified status code will be returned. This can return zero or more export tasks.
- Returns:
- All export tasks that matches the specified status code will be returned. This can return zero or more export tasks.
- See Also:
ExportTaskStatusCode
-
withStatusCode
public DescribeExportTasksRequest withStatusCode(String statusCode)
All export tasks that matches the specified status code will be returned. This can return zero or more export tasks.
- Parameters:
statusCode
- All export tasks that matches the specified status code will be returned. This can return zero or more export tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExportTaskStatusCode
-
setStatusCode
public void setStatusCode(ExportTaskStatusCode statusCode)
All export tasks that matches the specified status code will be returned. This can return zero or more export tasks.
- Parameters:
statusCode
- All export tasks that matches the specified status code will be returned. This can return zero or more export tasks.- See Also:
ExportTaskStatusCode
-
withStatusCode
public DescribeExportTasksRequest withStatusCode(ExportTaskStatusCode statusCode)
All export tasks that matches the specified status code will be returned. This can return zero or more export tasks.
- Parameters:
statusCode
- All export tasks that matches the specified status code will be returned. This can return zero or more export tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExportTaskStatusCode
-
setNextToken
public void setNextToken(String nextToken)
A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous
DescribeExportTasks
request.- Parameters:
nextToken
- A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previousDescribeExportTasks
request.
-
getNextToken
public String getNextToken()
A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous
DescribeExportTasks
request.- Returns:
- A string token used for pagination that points to the next page
of results. It must be a value obtained from the response of the
previous
DescribeExportTasks
request.
-
withNextToken
public DescribeExportTasksRequest withNextToken(String nextToken)
A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous
DescribeExportTasks
request.- Parameters:
nextToken
- A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previousDescribeExportTasks
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
public void setLimit(Integer limit)
The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
- Parameters:
limit
- The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
-
getLimit
public Integer getLimit()
The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
- Returns:
- The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
-
withLimit
public DescribeExportTasksRequest withLimit(Integer limit)
The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
- Parameters:
limit
- The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeExportTasksRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-