@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 |
getStreamARN()
The ARN of the stream.
|
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 |
setStreamARN(String streamARN)
The ARN of the stream.
|
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.
|
UpdateShardCountRequest |
withScalingType(ScalingType scalingType)
The scaling type.
|
UpdateShardCountRequest |
withScalingType(String scalingType)
The scaling type.
|
UpdateShardCountRequest |
withStreamARN(String streamARN)
The ARN of the stream.
|
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, withSdkRequestTimeout
public 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. This value has the following default limits. By default, you cannot do the following:
Set this value to more than double your current shard count for a stream.
Set this value below half your current shard count for a stream.
Set this value to more than 10000 shards in a stream (the default limit for shard count per stream is 10000 per account per region), unless you request a limit increase.
Scale a stream with more than 10000 shards down unless you set this value to less than 10000 shards.
targetShardCount
- The new number of shards. This value has the following default limits. By default, you cannot do the
following:
Set this value to more than double your current shard count for a stream.
Set this value below half your current shard count for a stream.
Set this value to more than 10000 shards in a stream (the default limit for shard count per stream is 10000 per account per region), unless you request a limit increase.
Scale a stream with more than 10000 shards down unless you set this value to less than 10000 shards.
public Integer getTargetShardCount()
The new number of shards. This value has the following default limits. By default, you cannot do the following:
Set this value to more than double your current shard count for a stream.
Set this value below half your current shard count for a stream.
Set this value to more than 10000 shards in a stream (the default limit for shard count per stream is 10000 per account per region), unless you request a limit increase.
Scale a stream with more than 10000 shards down unless you set this value to less than 10000 shards.
Set this value to more than double your current shard count for a stream.
Set this value below half your current shard count for a stream.
Set this value to more than 10000 shards in a stream (the default limit for shard count per stream is 10000 per account per region), unless you request a limit increase.
Scale a stream with more than 10000 shards down unless you set this value to less than 10000 shards.
public UpdateShardCountRequest withTargetShardCount(Integer targetShardCount)
The new number of shards. This value has the following default limits. By default, you cannot do the following:
Set this value to more than double your current shard count for a stream.
Set this value below half your current shard count for a stream.
Set this value to more than 10000 shards in a stream (the default limit for shard count per stream is 10000 per account per region), unless you request a limit increase.
Scale a stream with more than 10000 shards down unless you set this value to less than 10000 shards.
targetShardCount
- The new number of shards. This value has the following default limits. By default, you cannot do the
following:
Set this value to more than double your current shard count for a stream.
Set this value below half your current shard count for a stream.
Set this value to more than 10000 shards in a stream (the default limit for shard count per stream is 10000 per account per region), unless you request a limit increase.
Scale a stream with more than 10000 shards down unless you set this value to less than 10000 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.ScalingType
public String getScalingType()
The scaling type. Uniform scaling creates shards of equal size.
ScalingType
public 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.ScalingType
public 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.ScalingType
public 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.ScalingType
public void setStreamARN(String streamARN)
The ARN of the stream.
streamARN
- The ARN of the stream.public String getStreamARN()
The ARN of the stream.
public UpdateShardCountRequest withStreamARN(String streamARN)
The ARN of the stream.
streamARN
- The ARN of the stream.public String toString()
toString
in class Object
Object.toString()
public UpdateShardCountRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()