public class RemoveTagsFromStreamRequest extends AmazonWebServiceRequest implements 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(Object obj) |
String |
getStreamName()
The name of the stream.
|
List<String> |
getTagKeys()
A list of tag keys.
|
int |
hashCode() |
void |
setStreamName(String streamName)
The name of the stream.
|
void |
setTagKeys(Collection<String> tagKeys)
A list of tag keys.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RemoveTagsFromStreamRequest |
withStreamName(String streamName)
The name of the stream.
|
RemoveTagsFromStreamRequest |
withTagKeys(Collection<String> tagKeys)
A list of tag keys.
|
RemoveTagsFromStreamRequest |
withTagKeys(String... tagKeys)
A list of tag keys.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getStreamName()
The name of the stream.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
The name of the stream.
public void setStreamName(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(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 List<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(Collection<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(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(Collection<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 String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.