public class RemoveTagsFromStreamRequest extends AmazonWebServiceRequest implements java.io.Serializable
Removes tags from the specified Kinesis data stream. Removed tags are deleted and cannot be recovered after this operation successfully completes.
If you specify a tag that does not exist, it is ignored.
RemoveTagsFromStream has a limit of five transactions per second per account.
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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getStreamName()
The name of the stream.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
The name of the stream.
public void setStreamName(java.lang.String streamName)
The name of the stream.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
streamName
- The name of the stream.
public RemoveTagsFromStreamRequest withStreamName(java.lang.String streamName)
The name of the stream.
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()
A list of tag keys. Each corresponding tag is removed from the stream.
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.
Returns a reference to this object so that method calls can be chained together.
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.
Returns a reference to this object so that method calls can be chained together.
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.