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:
  • Constructor Details

    • DescribeExportTasksRequest

      public DescribeExportTasksRequest()
  • Method Details

    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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 previous DescribeExportTasks 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 previous DescribeExportTasks 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: