public class RemoveTagsFromStreamRequest extends AmazonWebServiceRequest implements java.io.Serializable
RemoveTagsFromStream operation.
Deletes tags from the specified Amazon Kinesis stream.
If you specify a tag that does not exist, it is ignored.
| Constructor and Description |
|---|
RemoveTagsFromStreamRequest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic java.lang.String getStreamName()
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
public void setStreamName(java.lang.String streamName)
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
streamName - The name of the stream.public RemoveTagsFromStreamRequest withStreamName(java.lang.String streamName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
streamName - The name of the stream.public java.util.List<java.lang.String> getTagKeys()
Constraints:
Length: 1 - 10
public void setTagKeys(java.util.Collection<java.lang.String> tagKeys)
Constraints:
Length: 1 - 10
tagKeys - A list of tag keys. Each corresponding tag is removed from the stream.public RemoveTagsFromStreamRequest withTagKeys(java.lang.String... tagKeys)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 10
tagKeys - A list of tag keys. Each corresponding tag is removed from the stream.public RemoveTagsFromStreamRequest withTagKeys(java.util.Collection<java.lang.String> tagKeys)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 10
tagKeys - A list of tag keys. Each corresponding tag is removed from the stream.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object