Class DescribeCasesResult

    • Constructor Detail

      • DescribeCasesResult

        public DescribeCasesResult()
    • Method Detail

      • getCases

        public List<CaseDetails> getCases()

        The details for the cases that match the request.

        Returns:
        The details for the cases that match the request.
      • setCases

        public void setCases​(Collection<CaseDetails> cases)

        The details for the cases that match the request.

        Parameters:
        cases - The details for the cases that match the request.
      • withCases

        public DescribeCasesResult withCases​(CaseDetails... cases)

        The details for the cases that match the request.

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

        Parameters:
        cases - The details for the cases that match the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withCases

        public DescribeCasesResult withCases​(Collection<CaseDetails> cases)

        The details for the cases that match the request.

        Parameters:
        cases - The details for the cases that match the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        A resumption point for pagination.

        Parameters:
        nextToken - A resumption point for pagination.
      • getNextToken

        public String getNextToken()

        A resumption point for pagination.

        Returns:
        A resumption point for pagination.
      • withNextToken

        public DescribeCasesResult withNextToken​(String nextToken)

        A resumption point for pagination.

        Parameters:
        nextToken - A resumption point for pagination.
        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object