Class DecreaseStreamRetentionPeriodRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.kinesis.model.DecreaseStreamRetentionPeriodRequest
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DecreaseStreamRetentionPeriodRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
Represents the input for DecreaseStreamRetentionPeriod.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe new retention period of the stream, in hours.The name of the stream to modify.inthashCode()voidsetRetentionPeriodHours(Integer retentionPeriodHours) The new retention period of the stream, in hours.voidsetStreamName(String streamName) The name of the stream to modify.toString()Returns a string representation of this object; useful for testing and debugging.withRetentionPeriodHours(Integer retentionPeriodHours) The new retention period of the stream, in hours.withStreamName(String streamName) The name of the stream to modify.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
DecreaseStreamRetentionPeriodRequest
public DecreaseStreamRetentionPeriodRequest()
-
-
Method Details
-
setStreamName
The name of the stream to modify.
- Parameters:
streamName- The name of the stream to modify.
-
getStreamName
The name of the stream to modify.
- Returns:
- The name of the stream to modify.
-
withStreamName
The name of the stream to modify.
- Parameters:
streamName- The name of the stream to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRetentionPeriodHours
The new retention period of the stream, in hours. Must be less than the current retention period.
- Parameters:
retentionPeriodHours- The new retention period of the stream, in hours. Must be less than the current retention period.
-
getRetentionPeriodHours
The new retention period of the stream, in hours. Must be less than the current retention period.
- Returns:
- The new retention period of the stream, in hours. Must be less than the current retention period.
-
withRetentionPeriodHours
The new retention period of the stream, in hours. Must be less than the current retention period.
- Parameters:
retentionPeriodHours- The new retention period of the stream, in hours. Must be less than the current retention period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-