@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IncreaseStreamRetentionPeriodRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for IncreaseStreamRetentionPeriod.
NOOP
Constructor and Description |
---|
IncreaseStreamRetentionPeriodRequest() |
Modifier and Type | Method and Description |
---|---|
IncreaseStreamRetentionPeriodRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getRetentionPeriodHours()
The new retention period of the stream, in hours.
|
String |
getStreamName()
The name of the stream to modify.
|
int |
hashCode() |
void |
setRetentionPeriodHours(Integer retentionPeriodHours)
The new retention period of the stream, in hours.
|
void |
setStreamName(String streamName)
The name of the stream to modify.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
IncreaseStreamRetentionPeriodRequest |
withRetentionPeriodHours(Integer retentionPeriodHours)
The new retention period of the stream, in hours.
|
IncreaseStreamRetentionPeriodRequest |
withStreamName(String streamName)
The name of the stream to modify.
|
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 IncreaseStreamRetentionPeriodRequest()
public void setStreamName(String streamName)
The name of the stream to modify.
streamName
- The name of the stream to modify.public String getStreamName()
The name of the stream to modify.
public IncreaseStreamRetentionPeriodRequest withStreamName(String streamName)
The name of the stream to modify.
streamName
- The name of the stream to modify.public void setRetentionPeriodHours(Integer retentionPeriodHours)
The new retention period of the stream, in hours. Must be more than the current retention period.
retentionPeriodHours
- The new retention period of the stream, in hours. Must be more than the current retention period.public Integer getRetentionPeriodHours()
The new retention period of the stream, in hours. Must be more than the current retention period.
public IncreaseStreamRetentionPeriodRequest withRetentionPeriodHours(Integer retentionPeriodHours)
The new retention period of the stream, in hours. Must be more than the current retention period.
retentionPeriodHours
- The new retention period of the stream, in hours. Must be more than the current retention period.public String toString()
toString
in class Object
Object.toString()
public IncreaseStreamRetentionPeriodRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.