Class MergeShardsRequest

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

public class MergeShardsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents the input for MergeShards.

See Also:
  • Constructor Details

    • MergeShardsRequest

      public MergeShardsRequest()
  • Method Details

    • setStreamName

      public void setStreamName(String streamName)

      The name of the stream for the merge.

      Parameters:
      streamName - The name of the stream for the merge.
    • getStreamName

      public String getStreamName()

      The name of the stream for the merge.

      Returns:
      The name of the stream for the merge.
    • withStreamName

      public MergeShardsRequest withStreamName(String streamName)

      The name of the stream for the merge.

      Parameters:
      streamName - The name of the stream for the merge.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setShardToMerge

      public void setShardToMerge(String shardToMerge)

      The shard ID of the shard to combine with the adjacent shard for the merge.

      Parameters:
      shardToMerge - The shard ID of the shard to combine with the adjacent shard for the merge.
    • getShardToMerge

      public String getShardToMerge()

      The shard ID of the shard to combine with the adjacent shard for the merge.

      Returns:
      The shard ID of the shard to combine with the adjacent shard for the merge.
    • withShardToMerge

      public MergeShardsRequest withShardToMerge(String shardToMerge)

      The shard ID of the shard to combine with the adjacent shard for the merge.

      Parameters:
      shardToMerge - The shard ID of the shard to combine with the adjacent shard for the merge.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAdjacentShardToMerge

      public void setAdjacentShardToMerge(String adjacentShardToMerge)

      The shard ID of the adjacent shard for the merge.

      Parameters:
      adjacentShardToMerge - The shard ID of the adjacent shard for the merge.
    • getAdjacentShardToMerge

      public String getAdjacentShardToMerge()

      The shard ID of the adjacent shard for the merge.

      Returns:
      The shard ID of the adjacent shard for the merge.
    • withAdjacentShardToMerge

      public MergeShardsRequest withAdjacentShardToMerge(String adjacentShardToMerge)

      The shard ID of the adjacent shard for the merge.

      Parameters:
      adjacentShardToMerge - The shard ID of the adjacent shard for the merge.
      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

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