@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 you provide to ensure idempotency of application creation.
|
String |
getDescription()
Description of the new application
|
String |
getName()
Name of the new application.
|
String |
getRoleName()
Name of service role in customer's account to be used by AWS SMS.
|
List<ServerGroup> |
getServerGroups()
List of server groups to include in the application.
|
List<Tag> |
getTags()
List of tags to be associated with the application.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier you provide to ensure idempotency of application creation.
|
void |
setDescription(String description)
Description of the new application
|
void |
setName(String name)
Name of the new application.
|
void |
setRoleName(String roleName)
Name of service role in customer's account to be used by AWS SMS.
|
void |
setServerGroups(Collection<ServerGroup> serverGroups)
List of server groups to include in the application.
|
void |
setTags(Collection<Tag> tags)
List of 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 you provide to ensure idempotency of application creation.
|
CreateAppRequest |
withDescription(String description)
Description of the new application
|
CreateAppRequest |
withName(String name)
Name of the new application.
|
CreateAppRequest |
withRoleName(String roleName)
Name of service role in customer's account to be used by AWS SMS.
|
CreateAppRequest |
withServerGroups(Collection<ServerGroup> serverGroups)
List of server groups to include in the application.
|
CreateAppRequest |
withServerGroups(ServerGroup... serverGroups)
List of server groups to include in the application.
|
CreateAppRequest |
withTags(Collection<Tag> tags)
List of tags to be associated with the application.
|
CreateAppRequest |
withTags(Tag... tags)
List of 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)
Name of the new application.
name
- Name of the new application.public String getName()
Name of the new application.
public CreateAppRequest withName(String name)
Name of the new application.
name
- Name of the new application.public void setDescription(String description)
Description of the new application
description
- Description of the new applicationpublic String getDescription()
Description of the new application
public CreateAppRequest withDescription(String description)
Description of the new application
description
- Description of the new applicationpublic void setRoleName(String roleName)
Name of service role in customer's account to be used by AWS SMS.
roleName
- Name of service role in customer's account to be used by AWS SMS.public String getRoleName()
Name of service role in customer's account to be used by AWS SMS.
public CreateAppRequest withRoleName(String roleName)
Name of service role in customer's account to be used by AWS SMS.
roleName
- Name of service role in customer's account to be used by AWS SMS.public void setClientToken(String clientToken)
A unique, case-sensitive identifier you provide to ensure idempotency of application creation.
clientToken
- A unique, case-sensitive identifier you provide to ensure idempotency of application creation.public String getClientToken()
A unique, case-sensitive identifier you provide to ensure idempotency of application creation.
public CreateAppRequest withClientToken(String clientToken)
A unique, case-sensitive identifier you provide to ensure idempotency of application creation.
clientToken
- A unique, case-sensitive identifier you provide to ensure idempotency of application creation.public List<ServerGroup> getServerGroups()
List of server groups to include in the application.
public void setServerGroups(Collection<ServerGroup> serverGroups)
List of server groups to include in the application.
serverGroups
- List of server groups to include in the application.public CreateAppRequest withServerGroups(ServerGroup... serverGroups)
List of 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
- List of server groups to include in the application.public CreateAppRequest withServerGroups(Collection<ServerGroup> serverGroups)
List of server groups to include in the application.
serverGroups
- List of server groups to include in the application.public List<Tag> getTags()
List of tags to be associated with the application.
public void setTags(Collection<Tag> tags)
List of tags to be associated with the application.
tags
- List of tags to be associated with the application.public CreateAppRequest withTags(Tag... tags)
List of 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
- List of tags to be associated with the application.public CreateAppRequest withTags(Collection<Tag> tags)
List of tags to be associated with the application.
tags
- List of 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.