@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() |
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, 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 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 Object
Object.toString()
public DeleteStreamRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.