@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() |
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.
|
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, copyBaseTo, 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()
clone
in class AmazonWebServiceRequest
Copyright © 2020. All rights reserved.