Class DescribeJobFlowsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticmapreduce.model.DescribeJobFlowsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DescribeJobFlowsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

The input for the DescribeJobFlows operation.

See Also:
  • Constructor Details

    • DescribeJobFlowsRequest

      public DescribeJobFlowsRequest()
      Default constructor for DescribeJobFlowsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
    • DescribeJobFlowsRequest

      public DescribeJobFlowsRequest(List<String> jobFlowIds)
      Constructs a new DescribeJobFlowsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      Parameters:
      jobFlowIds - Return only job flows whose job flow ID is contained in this list.
  • Method Details

    • setCreatedAfter

      public void setCreatedAfter(Date createdAfter)

      Return only job flows created after this date and time.

      Parameters:
      createdAfter - Return only job flows created after this date and time.
    • getCreatedAfter

      public Date getCreatedAfter()

      Return only job flows created after this date and time.

      Returns:
      Return only job flows created after this date and time.
    • withCreatedAfter

      public DescribeJobFlowsRequest withCreatedAfter(Date createdAfter)

      Return only job flows created after this date and time.

      Parameters:
      createdAfter - Return only job flows created after this date and time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCreatedBefore

      public void setCreatedBefore(Date createdBefore)

      Return only job flows created before this date and time.

      Parameters:
      createdBefore - Return only job flows created before this date and time.
    • getCreatedBefore

      public Date getCreatedBefore()

      Return only job flows created before this date and time.

      Returns:
      Return only job flows created before this date and time.
    • withCreatedBefore

      public DescribeJobFlowsRequest withCreatedBefore(Date createdBefore)

      Return only job flows created before this date and time.

      Parameters:
      createdBefore - Return only job flows created before this date and time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getJobFlowIds

      public List<String> getJobFlowIds()

      Return only job flows whose job flow ID is contained in this list.

      Returns:
      Return only job flows whose job flow ID is contained in this list.
    • setJobFlowIds

      public void setJobFlowIds(Collection<String> jobFlowIds)

      Return only job flows whose job flow ID is contained in this list.

      Parameters:
      jobFlowIds - Return only job flows whose job flow ID is contained in this list.
    • withJobFlowIds

      public DescribeJobFlowsRequest withJobFlowIds(String... jobFlowIds)

      Return only job flows whose job flow ID is contained in this list.

      NOTE: This method appends the values to the existing list (if any). Use setJobFlowIds(java.util.Collection) or withJobFlowIds(java.util.Collection) if you want to override the existing values.

      Parameters:
      jobFlowIds - Return only job flows whose job flow ID is contained in this list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withJobFlowIds

      public DescribeJobFlowsRequest withJobFlowIds(Collection<String> jobFlowIds)

      Return only job flows whose job flow ID is contained in this list.

      Parameters:
      jobFlowIds - Return only job flows whose job flow ID is contained in this list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getJobFlowStates

      public List<String> getJobFlowStates()

      Return only job flows whose state is contained in this list.

      Returns:
      Return only job flows whose state is contained in this list.
      See Also:
    • setJobFlowStates

      public void setJobFlowStates(Collection<String> jobFlowStates)

      Return only job flows whose state is contained in this list.

      Parameters:
      jobFlowStates - Return only job flows whose state is contained in this list.
      See Also:
    • withJobFlowStates

      public DescribeJobFlowsRequest withJobFlowStates(String... jobFlowStates)

      Return only job flows whose state is contained in this list.

      NOTE: This method appends the values to the existing list (if any). Use setJobFlowStates(java.util.Collection) or withJobFlowStates(java.util.Collection) if you want to override the existing values.

      Parameters:
      jobFlowStates - Return only job flows whose state is contained in this list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • withJobFlowStates

      public DescribeJobFlowsRequest withJobFlowStates(Collection<String> jobFlowStates)

      Return only job flows whose state is contained in this list.

      Parameters:
      jobFlowStates - Return only job flows whose state is contained in this list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • withJobFlowStates

      public DescribeJobFlowsRequest withJobFlowStates(JobFlowExecutionState... jobFlowStates)

      Return only job flows whose state is contained in this list.

      Parameters:
      jobFlowStates - Return only job flows whose state is contained in this list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      public DescribeJobFlowsRequest 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: