@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SpotFleetTagSpecification extends Object implements Serializable, Cloneable
The tags for a Spot Fleet resource.
| Constructor and Description |
|---|
SpotFleetTagSpecification() |
| Modifier and Type | Method and Description |
|---|---|
SpotFleetTagSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getResourceType()
The type of resource.
|
List<Tag> |
getTags()
The tags.
|
int |
hashCode() |
void |
setResourceType(ResourceType resourceType)
The type of resource.
|
void |
setResourceType(String resourceType)
The type of resource.
|
void |
setTags(Collection<Tag> tags)
The tags.
|
String |
toString()
Returns a string representation of this object.
|
SpotFleetTagSpecification |
withResourceType(ResourceType resourceType)
The type of resource.
|
SpotFleetTagSpecification |
withResourceType(String resourceType)
The type of resource.
|
SpotFleetTagSpecification |
withTags(Collection<Tag> tags)
The tags.
|
SpotFleetTagSpecification |
withTags(Tag... tags)
The tags.
|
public void setResourceType(String resourceType)
The type of resource. Currently, the only resource type that is supported is instance.
resourceType - The type of resource. Currently, the only resource type that is supported is instance.ResourceTypepublic String getResourceType()
The type of resource. Currently, the only resource type that is supported is instance.
instance.ResourceTypepublic SpotFleetTagSpecification withResourceType(String resourceType)
The type of resource. Currently, the only resource type that is supported is instance.
resourceType - The type of resource. Currently, the only resource type that is supported is instance.ResourceTypepublic void setResourceType(ResourceType resourceType)
The type of resource. Currently, the only resource type that is supported is instance.
resourceType - The type of resource. Currently, the only resource type that is supported is instance.ResourceTypepublic SpotFleetTagSpecification withResourceType(ResourceType resourceType)
The type of resource. Currently, the only resource type that is supported is instance.
resourceType - The type of resource. Currently, the only resource type that is supported is instance.ResourceTypepublic void setTags(Collection<Tag> tags)
The tags.
tags - The tags.public SpotFleetTagSpecification withTags(Tag... tags)
The tags.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - The tags.public SpotFleetTagSpecification withTags(Collection<Tag> tags)
The tags.
tags - The tags.public String toString()
toString in class ObjectObject.toString()public SpotFleetTagSpecification clone()
Copyright © 2019. All rights reserved.