public class UntagLogGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable
Removes the specified tags from the specified log group.
To list the tags for a log group, use ListTagsLogGroup. To add tags, use UntagLogGroup.
Constructor and Description |
---|
UntagLogGroupRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLogGroupName()
The name of the log group.
|
java.util.List<java.lang.String> |
getTags()
The tag keys.
|
int |
hashCode() |
void |
setLogGroupName(java.lang.String logGroupName)
The name of the log group.
|
void |
setTags(java.util.Collection<java.lang.String> tags)
The tag keys.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UntagLogGroupRequest |
withLogGroupName(java.lang.String logGroupName)
The name of the log group.
|
UntagLogGroupRequest |
withTags(java.util.Collection<java.lang.String> tags)
The tag keys.
|
UntagLogGroupRequest |
withTags(java.lang.String... tags)
The tag keys.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getLogGroupName()
The name of the log group.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
The name of the log group.
public void setLogGroupName(java.lang.String logGroupName)
The name of the log group.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName
- The name of the log group.
public UntagLogGroupRequest withLogGroupName(java.lang.String logGroupName)
The name of the log group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName
- The name of the log group.
public java.util.List<java.lang.String> getTags()
The tag keys. The corresponding tags are removed from the log group.
The tag keys. The corresponding tags are removed from the log group.
public void setTags(java.util.Collection<java.lang.String> tags)
The tag keys. The corresponding tags are removed from the log group.
tags
- The tag keys. The corresponding tags are removed from the log group.
public UntagLogGroupRequest withTags(java.lang.String... tags)
The tag keys. The corresponding tags are removed from the log group.
Returns a reference to this object so that method calls can be chained together.
tags
- The tag keys. The corresponding tags are removed from the log group.
public UntagLogGroupRequest withTags(java.util.Collection<java.lang.String> tags)
The tag keys. The corresponding tags are removed from the log group.
Returns a reference to this object so that method calls can be chained together.
tags
- The tag keys. The corresponding tags are removed from the log group.
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.