Class SplitShardRequest

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

public class SplitShardRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents the input for SplitShard.

See Also:
  • Constructor Details

    • SplitShardRequest

      public SplitShardRequest()
  • Method Details

    • setStreamName

      public void setStreamName(String streamName)

      The name of the stream for the shard split.

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

      public String getStreamName()

      The name of the stream for the shard split.

      Returns:
      The name of the stream for the shard split.
    • withStreamName

      public SplitShardRequest withStreamName(String streamName)

      The name of the stream for the shard split.

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

      public void setShardToSplit(String shardToSplit)

      The shard ID of the shard to split.

      Parameters:
      shardToSplit - The shard ID of the shard to split.
    • getShardToSplit

      public String getShardToSplit()

      The shard ID of the shard to split.

      Returns:
      The shard ID of the shard to split.
    • withShardToSplit

      public SplitShardRequest withShardToSplit(String shardToSplit)

      The shard ID of the shard to split.

      Parameters:
      shardToSplit - The shard ID of the shard to split.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNewStartingHashKey

      public void setNewStartingHashKey(String newStartingHashKey)

      A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for NewStartingHashKey must be in the range of hash keys being mapped into the shard. The NewStartingHashKey hash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.

      Parameters:
      newStartingHashKey - A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for NewStartingHashKey must be in the range of hash keys being mapped into the shard. The NewStartingHashKey hash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.
    • getNewStartingHashKey

      public String getNewStartingHashKey()

      A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for NewStartingHashKey must be in the range of hash keys being mapped into the shard. The NewStartingHashKey hash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.

      Returns:
      A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for NewStartingHashKey must be in the range of hash keys being mapped into the shard. The NewStartingHashKey hash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.
    • withNewStartingHashKey

      public SplitShardRequest withNewStartingHashKey(String newStartingHashKey)

      A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for NewStartingHashKey must be in the range of hash keys being mapped into the shard. The NewStartingHashKey hash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.

      Parameters:
      newStartingHashKey - A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for NewStartingHashKey must be in the range of hash keys being mapped into the shard. The NewStartingHashKey hash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.
      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 SplitShardRequest 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: