@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterInstanceTagAttributeRequest extends Object implements Serializable, Cloneable
Information about the tag keys to register for the current Region. You can either specify individual tag keys or
register all tag keys in the current Region. You must specify either IncludeAllTagsOfInstance
or
InstanceTagKeys
in the request
Constructor and Description |
---|
RegisterInstanceTagAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterInstanceTagAttributeRequest |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIncludeAllTagsOfInstance()
Indicates whether to register all tag keys in the current Region.
|
List<String> |
getInstanceTagKeys()
The tag keys to register.
|
int |
hashCode() |
Boolean |
isIncludeAllTagsOfInstance()
Indicates whether to register all tag keys in the current Region.
|
void |
setIncludeAllTagsOfInstance(Boolean includeAllTagsOfInstance)
Indicates whether to register all tag keys in the current Region.
|
void |
setInstanceTagKeys(Collection<String> instanceTagKeys)
The tag keys to register.
|
String |
toString()
Returns a string representation of this object.
|
RegisterInstanceTagAttributeRequest |
withIncludeAllTagsOfInstance(Boolean includeAllTagsOfInstance)
Indicates whether to register all tag keys in the current Region.
|
RegisterInstanceTagAttributeRequest |
withInstanceTagKeys(Collection<String> instanceTagKeys)
The tag keys to register.
|
RegisterInstanceTagAttributeRequest |
withInstanceTagKeys(String... instanceTagKeys)
The tag keys to register.
|
public void setIncludeAllTagsOfInstance(Boolean includeAllTagsOfInstance)
Indicates whether to register all tag keys in the current Region. Specify true
to register all tag
keys.
includeAllTagsOfInstance
- Indicates whether to register all tag keys in the current Region. Specify true
to register
all tag keys.public Boolean getIncludeAllTagsOfInstance()
Indicates whether to register all tag keys in the current Region. Specify true
to register all tag
keys.
true
to register
all tag keys.public RegisterInstanceTagAttributeRequest withIncludeAllTagsOfInstance(Boolean includeAllTagsOfInstance)
Indicates whether to register all tag keys in the current Region. Specify true
to register all tag
keys.
includeAllTagsOfInstance
- Indicates whether to register all tag keys in the current Region. Specify true
to register
all tag keys.public Boolean isIncludeAllTagsOfInstance()
Indicates whether to register all tag keys in the current Region. Specify true
to register all tag
keys.
true
to register
all tag keys.public List<String> getInstanceTagKeys()
The tag keys to register.
public void setInstanceTagKeys(Collection<String> instanceTagKeys)
The tag keys to register.
instanceTagKeys
- The tag keys to register.public RegisterInstanceTagAttributeRequest withInstanceTagKeys(String... instanceTagKeys)
The tag keys to register.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceTagKeys(java.util.Collection)
or withInstanceTagKeys(java.util.Collection)
if you
want to override the existing values.
instanceTagKeys
- The tag keys to register.public RegisterInstanceTagAttributeRequest withInstanceTagKeys(Collection<String> instanceTagKeys)
The tag keys to register.
instanceTagKeys
- The tag keys to register.public String toString()
toString
in class Object
Object.toString()
public RegisterInstanceTagAttributeRequest clone()