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 DescribeExportTasksRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)IntegergetLimit()The maximum number of items returned in the response.StringgetNextToken()A string token used for pagination that points to the next page of results.StringgetStatusCode()All export tasks that matches the specified status code will be returned.StringgetTaskId()Export task that matches the specified task Id will be returned.inthashCode()voidsetLimit(Integer limit)The maximum number of items returned in the response.voidsetNextToken(String nextToken)A string token used for pagination that points to the next page of results.voidsetStatusCode(ExportTaskStatusCode statusCode)All export tasks that matches the specified status code will be returned.voidsetStatusCode(String statusCode)All export tasks that matches the specified status code will be returned.voidsetTaskId(String taskId)Export task that matches the specified task Id will be returned.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeExportTasksRequestwithLimit(Integer limit)The maximum number of items returned in the response.DescribeExportTasksRequestwithNextToken(String nextToken)A string token used for pagination that points to the next page of results.DescribeExportTasksRequestwithStatusCode(ExportTaskStatusCode statusCode)All export tasks that matches the specified status code will be returned.DescribeExportTasksRequestwithStatusCode(String statusCode)All export tasks that matches the specified status code will be returned.DescribeExportTasksRequestwithTaskId(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
DescribeExportTasksrequest.- 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 previousDescribeExportTasksrequest.
-
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
DescribeExportTasksrequest.- 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
DescribeExportTasksrequest.
-
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
DescribeExportTasksrequest.- 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 previousDescribeExportTasksrequest.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeExportTasksRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-