@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for DeleteStream.
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) |
Boolean |
getEnforceConsumerDeletion()
If this parameter is unset (
null) or if you set it to false, and the stream has
registered consumers, the call to DeleteStream fails with a ResourceInUseException. |
String |
getStreamARN()
The ARN of the stream.
|
String |
getStreamName()
The name of the stream to delete.
|
int |
hashCode() |
Boolean |
isEnforceConsumerDeletion()
If this parameter is unset (
null) or if you set it to false, and the stream has
registered consumers, the call to DeleteStream fails with a ResourceInUseException. |
void |
setEnforceConsumerDeletion(Boolean enforceConsumerDeletion)
If this parameter is unset (
null) or if you set it to false, and the stream has
registered consumers, the call to DeleteStream fails with a ResourceInUseException. |
void |
setStreamARN(String streamARN)
The ARN of the stream.
|
void |
setStreamName(String streamName)
The name of the stream to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteStreamRequest |
withEnforceConsumerDeletion(Boolean enforceConsumerDeletion)
If this parameter is unset (
null) or if you set it to false, and the stream has
registered consumers, the call to DeleteStream fails with a ResourceInUseException. |
DeleteStreamRequest |
withStreamARN(String streamARN)
The ARN of the stream.
|
DeleteStreamRequest |
withStreamName(String streamName)
The name of the stream 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 setStreamName(String streamName)
The name of the stream to delete.
streamName - The name of the stream to delete.public String getStreamName()
The name of the stream to delete.
public DeleteStreamRequest withStreamName(String streamName)
The name of the stream to delete.
streamName - The name of the stream to delete.public void setEnforceConsumerDeletion(Boolean enforceConsumerDeletion)
If this parameter is unset (null) or if you set it to false, and the stream has
registered consumers, the call to DeleteStream fails with a ResourceInUseException.
enforceConsumerDeletion - If this parameter is unset (null) or if you set it to false, and the stream has
registered consumers, the call to DeleteStream fails with a
ResourceInUseException.public Boolean getEnforceConsumerDeletion()
If this parameter is unset (null) or if you set it to false, and the stream has
registered consumers, the call to DeleteStream fails with a ResourceInUseException.
null) or if you set it to false, and the stream has
registered consumers, the call to DeleteStream fails with a
ResourceInUseException.public DeleteStreamRequest withEnforceConsumerDeletion(Boolean enforceConsumerDeletion)
If this parameter is unset (null) or if you set it to false, and the stream has
registered consumers, the call to DeleteStream fails with a ResourceInUseException.
enforceConsumerDeletion - If this parameter is unset (null) or if you set it to false, and the stream has
registered consumers, the call to DeleteStream fails with a
ResourceInUseException.public Boolean isEnforceConsumerDeletion()
If this parameter is unset (null) or if you set it to false, and the stream has
registered consumers, the call to DeleteStream fails with a ResourceInUseException.
null) or if you set it to false, and the stream has
registered consumers, the call to DeleteStream fails with a
ResourceInUseException.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 DeleteStreamRequest withStreamARN(String streamARN)
The ARN of the stream.
streamARN - The ARN of the stream.public String toString()
toString in class ObjectObject.toString()public DeleteStreamRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()