@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteStreamRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteStreamRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCurrentVersion()
Optional: The version of the stream that you want to delete.
|
String |
getStreamARN()
The Amazon Resource Name (ARN) of the stream that you want to delete.
|
int |
hashCode() |
void |
setCurrentVersion(String currentVersion)
Optional: The version of the stream that you want to delete.
|
void |
setStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream that you want to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteStreamRequest |
withCurrentVersion(String currentVersion)
Optional: The version of the stream that you want to delete.
|
DeleteStreamRequest |
withStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream that you want to delete.
|
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, withSdkRequestTimeoutpublic void setStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream that you want to delete.
streamARN - The Amazon Resource Name (ARN) of the stream that you want to delete.public String getStreamARN()
The Amazon Resource Name (ARN) of the stream that you want to delete.
public DeleteStreamRequest withStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream that you want to delete.
streamARN - The Amazon Resource Name (ARN) of the stream that you want to delete.public void setCurrentVersion(String currentVersion)
Optional: The version of the stream that you want to delete.
Specify the version as a safeguard to ensure that your are deleting the correct stream. To get the stream
version, use the DescribeStream API.
If not specified, only the CreationTime is checked before deleting the stream.
currentVersion - Optional: The version of the stream that you want to delete.
Specify the version as a safeguard to ensure that your are deleting the correct stream. To get the stream
version, use the DescribeStream API.
If not specified, only the CreationTime is checked before deleting the stream.
public String getCurrentVersion()
Optional: The version of the stream that you want to delete.
Specify the version as a safeguard to ensure that your are deleting the correct stream. To get the stream
version, use the DescribeStream API.
If not specified, only the CreationTime is checked before deleting the stream.
Specify the version as a safeguard to ensure that your are deleting the correct stream. To get the stream
version, use the DescribeStream API.
If not specified, only the CreationTime is checked before deleting the stream.
public DeleteStreamRequest withCurrentVersion(String currentVersion)
Optional: The version of the stream that you want to delete.
Specify the version as a safeguard to ensure that your are deleting the correct stream. To get the stream
version, use the DescribeStream API.
If not specified, only the CreationTime is checked before deleting the stream.
currentVersion - Optional: The version of the stream that you want to delete.
Specify the version as a safeguard to ensure that your are deleting the correct stream. To get the stream
version, use the DescribeStream API.
If not specified, only the CreationTime is checked before deleting the stream.
public String toString()
toString in class ObjectObject.toString()public DeleteStreamRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()