Class IncreaseStreamRetentionPeriodRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.kinesis.model.IncreaseStreamRetentionPeriodRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class IncreaseStreamRetentionPeriodRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for IncreaseStreamRetentionPeriod.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description IncreaseStreamRetentionPeriodRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IncreaseStreamRetentionPeriodRequest
clone()
Creates a shallow clone of this request.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.-
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
-
-
-
-
Method Detail
-
setStreamName
public void setStreamName(String streamName)
The name of the stream to modify.
- Parameters:
streamName
- The name of the stream to modify.
-
getStreamName
public String getStreamName()
The name of the stream to modify.
- Returns:
- The name of the stream to modify.
-
withStreamName
public IncreaseStreamRetentionPeriodRequest withStreamName(String streamName)
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
public void setRetentionPeriodHours(Integer retentionPeriodHours)
The new retention period of the stream, in hours. Must be more than the current retention period.
- Parameters:
retentionPeriodHours
- The new retention period of the stream, in hours. Must be more than the current retention period.
-
getRetentionPeriodHours
public Integer getRetentionPeriodHours()
The new retention period of the stream, in hours. Must be more than the current retention period.
- Returns:
- The new retention period of the stream, in hours. Must be more than the current retention period.
-
withRetentionPeriodHours
public IncreaseStreamRetentionPeriodRequest withRetentionPeriodHours(Integer retentionPeriodHours)
The new retention period of the stream, in hours. Must be more than the current retention period.
- Parameters:
retentionPeriodHours
- The new retention period of the stream, in hours. Must be more than the current retention period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public IncreaseStreamRetentionPeriodRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-