public class RemoveTagsFromStreamRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for RemoveTagsFromStream
.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
streamName
The name of the stream.
|
private SdkInternalList<java.lang.String> |
tagKeys
A list of tag keys.
|
NOOP
Constructor and Description |
---|
RemoveTagsFromStreamRequest() |
Modifier and Type | Method and Description |
---|---|
RemoveTagsFromStreamRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getStreamName()
The name of the stream.
|
java.util.List<java.lang.String> |
getTagKeys()
A list of tag keys.
|
int |
hashCode() |
void |
setStreamName(java.lang.String streamName)
The name of the stream.
|
void |
setTagKeys(java.util.Collection<java.lang.String> tagKeys)
A list of tag keys.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RemoveTagsFromStreamRequest |
withStreamName(java.lang.String streamName)
The name of the stream.
|
RemoveTagsFromStreamRequest |
withTagKeys(java.util.Collection<java.lang.String> tagKeys)
A list of tag keys.
|
RemoveTagsFromStreamRequest |
withTagKeys(java.lang.String... tagKeys)
A list of tag keys.
|
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
private java.lang.String streamName
The name of the stream.
private SdkInternalList<java.lang.String> tagKeys
A list of tag keys. Each corresponding tag is removed from the stream.
public void setStreamName(java.lang.String streamName)
The name of the stream.
streamName
- The name of the stream.public java.lang.String getStreamName()
The name of the stream.
public RemoveTagsFromStreamRequest withStreamName(java.lang.String streamName)
The name of the stream.
streamName
- The name of the stream.public java.util.List<java.lang.String> getTagKeys()
A list of tag keys. Each corresponding tag is removed from the stream.
public void setTagKeys(java.util.Collection<java.lang.String> tagKeys)
A list of tag keys. Each corresponding tag is removed from the stream.
tagKeys
- A list of tag keys. Each corresponding tag is removed from the
stream.public RemoveTagsFromStreamRequest withTagKeys(java.lang.String... tagKeys)
A list of tag keys. Each corresponding tag is removed from the stream.
NOTE: This method appends the values to the existing list (if
any). Use setTagKeys(java.util.Collection)
or
withTagKeys(java.util.Collection)
if you want to override the
existing values.
tagKeys
- A list of tag keys. Each corresponding tag is removed from the
stream.public RemoveTagsFromStreamRequest withTagKeys(java.util.Collection<java.lang.String> tagKeys)
A list of tag keys. Each corresponding tag is removed from the stream.
tagKeys
- A list of tag keys. Each corresponding tag is removed from the
stream.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RemoveTagsFromStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()