@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateShardCountRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateShardCountRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateShardCountRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getScalingType()
The scaling type.
|
String |
getStreamName()
The name of the stream.
|
Integer |
getTargetShardCount()
The new number of shards.
|
int |
hashCode() |
void |
setScalingType(ScalingType scalingType)
The scaling type.
|
void |
setScalingType(String scalingType)
The scaling type.
|
void |
setStreamName(String streamName)
The name of the stream.
|
void |
setTargetShardCount(Integer targetShardCount)
The new number of shards.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateShardCountRequest |
withScalingType(ScalingType scalingType)
The scaling type.
|
UpdateShardCountRequest |
withScalingType(String scalingType)
The scaling type.
|
UpdateShardCountRequest |
withStreamName(String streamName)
The name of the stream.
|
UpdateShardCountRequest |
withTargetShardCount(Integer targetShardCount)
The new number of shards.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setStreamName(String streamName)
The name of the stream.
streamName - The name of the stream.public String getStreamName()
The name of the stream.
public UpdateShardCountRequest withStreamName(String streamName)
The name of the stream.
streamName - The name of the stream.public void setTargetShardCount(Integer targetShardCount)
The new number of shards.
targetShardCount - The new number of shards.public Integer getTargetShardCount()
The new number of shards.
public UpdateShardCountRequest withTargetShardCount(Integer targetShardCount)
The new number of shards.
targetShardCount - The new number of shards.public void setScalingType(String scalingType)
The scaling type. Uniform scaling creates shards of equal size.
scalingType - The scaling type. Uniform scaling creates shards of equal size.ScalingTypepublic String getScalingType()
The scaling type. Uniform scaling creates shards of equal size.
ScalingTypepublic UpdateShardCountRequest withScalingType(String scalingType)
The scaling type. Uniform scaling creates shards of equal size.
scalingType - The scaling type. Uniform scaling creates shards of equal size.ScalingTypepublic void setScalingType(ScalingType scalingType)
The scaling type. Uniform scaling creates shards of equal size.
scalingType - The scaling type. Uniform scaling creates shards of equal size.ScalingTypepublic UpdateShardCountRequest withScalingType(ScalingType scalingType)
The scaling type. Uniform scaling creates shards of equal size.
scalingType - The scaling type. Uniform scaling creates shards of equal size.ScalingTypepublic String toString()
toString in class ObjectObject.toString()public UpdateShardCountRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.