Class ListStreamsResult

java.lang.Object
com.amazonaws.services.kinesis.model.ListStreamsResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListStreamsResult extends Object implements Serializable, Cloneable

Represents the output for ListStreams.

See Also:
  • Constructor Details

    • ListStreamsResult

      public ListStreamsResult()
  • Method Details

    • getStreamNames

      public List<String> getStreamNames()

      The names of the streams that are associated with the AWS account making the ListStreams request.

      Returns:
      The names of the streams that are associated with the AWS account making the ListStreams request.
    • setStreamNames

      public void setStreamNames(Collection<String> streamNames)

      The names of the streams that are associated with the AWS account making the ListStreams request.

      Parameters:
      streamNames - The names of the streams that are associated with the AWS account making the ListStreams request.
    • withStreamNames

      public ListStreamsResult withStreamNames(String... streamNames)

      The names of the streams that are associated with the AWS account making the ListStreams request.

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

      Parameters:
      streamNames - The names of the streams that are associated with the AWS account making the ListStreams request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withStreamNames

      public ListStreamsResult withStreamNames(Collection<String> streamNames)

      The names of the streams that are associated with the AWS account making the ListStreams request.

      Parameters:
      streamNames - The names of the streams that are associated with the AWS account making the ListStreams request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setHasMoreStreams

      public void setHasMoreStreams(Boolean hasMoreStreams)

      If set to true, there are more streams available to list.

      Parameters:
      hasMoreStreams - If set to true, there are more streams available to list.
    • getHasMoreStreams

      public Boolean getHasMoreStreams()

      If set to true, there are more streams available to list.

      Returns:
      If set to true, there are more streams available to list.
    • withHasMoreStreams

      public ListStreamsResult withHasMoreStreams(Boolean hasMoreStreams)

      If set to true, there are more streams available to list.

      Parameters:
      hasMoreStreams - If set to true, there are more streams available to list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isHasMoreStreams

      public Boolean isHasMoreStreams()

      If set to true, there are more streams available to list.

      Returns:
      If set to true, there are more streams available to list.
    • 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 ListStreamsResult clone()
      Overrides:
      clone in class Object