@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFleetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateFleetRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateFleetRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateFleetRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateFleetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
The name of the fleet.
|
Map<String,String> |
getTags()
A map that contains tag keys and tag values that are attached to the fleet.
|
int |
hashCode() |
void |
setName(String name)
The name of the fleet.
|
void |
setTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the fleet.
|
String |
toString()
Returns a string representation of this object.
|
CreateFleetRequest |
withName(String name)
The name of the fleet.
|
CreateFleetRequest |
withTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the fleet.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name of the fleet.
name - The name of the fleet.public String getName()
The name of the fleet.
public CreateFleetRequest withName(String name)
The name of the fleet.
name - The name of the fleet.public Map<String,String> getTags()
A map that contains tag keys and tag values that are attached to the fleet.
public void setTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the fleet.
tags - A map that contains tag keys and tag values that are attached to the fleet.public CreateFleetRequest withTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the fleet.
tags - A map that contains tag keys and tag values that are attached to the fleet.public CreateFleetRequest addTagsEntry(String key, String value)
public CreateFleetRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateFleetRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()