public class RemoveTagsFromStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
RemoveTagsFromStream operation
.
Deletes tags from the specified Amazon Kinesis stream.
If you specify a tag that does not exist, it is ignored.
NOOP
Constructor and Description |
---|
RemoveTagsFromStreamRequest() |
Modifier and Type | Method and Description |
---|---|
RemoveTagsFromStreamRequest |
clone() |
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.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getStreamName()
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
public void setStreamName(String streamName)
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
streamName
- The name of the stream.public RemoveTagsFromStreamRequest withStreamName(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 List<String> getTagKeys()
Constraints:
Length: 1 - 10
public void setTagKeys(Collection<String> tagKeys)
Constraints:
Length: 1 - 10
tagKeys
- A list of tag keys. Each corresponding tag is removed from the stream.public RemoveTagsFromStreamRequest withTagKeys(String... tagKeys)
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.
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(Collection<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 String toString()
toString
in class Object
Object.toString()
public RemoveTagsFromStreamRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.