@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAppRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAppRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAppRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.
|
String |
getDescription()
The description of the new application
|
String |
getName()
The name of the new application.
|
String |
getRoleName()
The name of the service role in the customer's account to be used by Server Migration Service.
|
List<ServerGroup> |
getServerGroups()
The server groups to include in the application.
|
List<Tag> |
getTags()
The tags to be associated with the application.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.
|
void |
setDescription(String description)
The description of the new application
|
void |
setName(String name)
The name of the new application.
|
void |
setRoleName(String roleName)
The name of the service role in the customer's account to be used by Server Migration Service.
|
void |
setServerGroups(Collection<ServerGroup> serverGroups)
The server groups to include in the application.
|
void |
setTags(Collection<Tag> tags)
The tags to be associated with the application.
|
String |
toString()
Returns a string representation of this object.
|
CreateAppRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.
|
CreateAppRequest |
withDescription(String description)
The description of the new application
|
CreateAppRequest |
withName(String name)
The name of the new application.
|
CreateAppRequest |
withRoleName(String roleName)
The name of the service role in the customer's account to be used by Server Migration Service.
|
CreateAppRequest |
withServerGroups(Collection<ServerGroup> serverGroups)
The server groups to include in the application.
|
CreateAppRequest |
withServerGroups(ServerGroup... serverGroups)
The server groups to include in the application.
|
CreateAppRequest |
withTags(Collection<Tag> tags)
The tags to be associated with the application.
|
CreateAppRequest |
withTags(Tag... tags)
The tags to be associated with the application.
|
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, withSdkRequestTimeout
public void setName(String name)
The name of the new application.
name
- The name of the new application.public String getName()
The name of the new application.
public CreateAppRequest withName(String name)
The name of the new application.
name
- The name of the new application.public void setDescription(String description)
The description of the new application
description
- The description of the new applicationpublic String getDescription()
The description of the new application
public CreateAppRequest withDescription(String description)
The description of the new application
description
- The description of the new applicationpublic void setRoleName(String roleName)
The name of the service role in the customer's account to be used by Server Migration Service.
roleName
- The name of the service role in the customer's account to be used by Server Migration Service.public String getRoleName()
The name of the service role in the customer's account to be used by Server Migration Service.
public CreateAppRequest withRoleName(String roleName)
The name of the service role in the customer's account to be used by Server Migration Service.
roleName
- The name of the service role in the customer's account to be used by Server Migration Service.public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.
public CreateAppRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.public List<ServerGroup> getServerGroups()
The server groups to include in the application.
public void setServerGroups(Collection<ServerGroup> serverGroups)
The server groups to include in the application.
serverGroups
- The server groups to include in the application.public CreateAppRequest withServerGroups(ServerGroup... serverGroups)
The server groups to include in the application.
NOTE: This method appends the values to the existing list (if any). Use
setServerGroups(java.util.Collection)
or withServerGroups(java.util.Collection)
if you want to
override the existing values.
serverGroups
- The server groups to include in the application.public CreateAppRequest withServerGroups(Collection<ServerGroup> serverGroups)
The server groups to include in the application.
serverGroups
- The server groups to include in the application.public List<Tag> getTags()
The tags to be associated with the application.
public void setTags(Collection<Tag> tags)
The tags to be associated with the application.
tags
- The tags to be associated with the application.public CreateAppRequest withTags(Tag... tags)
The tags to be associated with the application.
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 to be associated with the application.public CreateAppRequest withTags(Collection<Tag> tags)
The tags to be associated with the application.
tags
- The tags to be associated with the application.public String toString()
toString
in class Object
Object.toString()
public CreateAppRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()