@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DecreaseStreamRetentionPeriodRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for DecreaseStreamRetentionPeriod.
NOOP
Constructor and Description |
---|
DecreaseStreamRetentionPeriodRequest() |
Modifier and Type | Method and Description |
---|---|
DecreaseStreamRetentionPeriodRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getRetentionPeriodHours()
The new retention period of the stream, in hours.
|
String |
getStreamARN()
The ARN of the stream.
|
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 |
setStreamARN(String streamARN)
The ARN of the stream.
|
void |
setStreamName(String streamName)
The name of the stream to modify.
|
String |
toString()
Returns a string representation of this object.
|
DecreaseStreamRetentionPeriodRequest |
withRetentionPeriodHours(Integer retentionPeriodHours)
The new retention period of the stream, in hours.
|
DecreaseStreamRetentionPeriodRequest |
withStreamARN(String streamARN)
The ARN of the stream.
|
DecreaseStreamRetentionPeriodRequest |
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 DecreaseStreamRetentionPeriodRequest()
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 DecreaseStreamRetentionPeriodRequest 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 less than the current retention period.
retentionPeriodHours
- The new retention period of the stream, in hours. Must be less than the current retention period.public Integer getRetentionPeriodHours()
The new retention period of the stream, in hours. Must be less than the current retention period.
public DecreaseStreamRetentionPeriodRequest withRetentionPeriodHours(Integer retentionPeriodHours)
The new retention period of the stream, in hours. Must be less than the current retention period.
retentionPeriodHours
- The new retention period of the stream, in hours. Must be less than the current retention period.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 DecreaseStreamRetentionPeriodRequest withStreamARN(String streamARN)
The ARN of the stream.
streamARN
- The ARN of the stream.public String toString()
toString
in class Object
Object.toString()
public DecreaseStreamRetentionPeriodRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2024. All rights reserved.