Class DescribeJobFlowsRequest

    • Constructor Detail

      • 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 Detail

      • 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:
        JobFlowExecutionState
      • 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:
        JobFlowExecutionState
      • 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:
        JobFlowExecutionState
      • 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:
        JobFlowExecutionState
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object