@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAppRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAppRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAppRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAppId()
ID of the application to update.
|
String |
getDescription()
New description of the application.
|
String |
getName()
New name of the application.
|
String |
getRoleName()
Name of the service role in the customer's account used by AWS SMS.
|
List<ServerGroup> |
getServerGroups()
List of server groups in the application to update.
|
List<Tag> |
getTags()
List of tags to associate with the application.
|
int |
hashCode() |
void |
setAppId(String appId)
ID of the application to update.
|
void |
setDescription(String description)
New description of the application.
|
void |
setName(String name)
New name of the application.
|
void |
setRoleName(String roleName)
Name of the service role in the customer's account used by AWS SMS.
|
void |
setServerGroups(Collection<ServerGroup> serverGroups)
List of server groups in the application to update.
|
void |
setTags(Collection<Tag> tags)
List of tags to associate with the application.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAppRequest |
withAppId(String appId)
ID of the application to update.
|
UpdateAppRequest |
withDescription(String description)
New description of the application.
|
UpdateAppRequest |
withName(String name)
New name of the application.
|
UpdateAppRequest |
withRoleName(String roleName)
Name of the service role in the customer's account used by AWS SMS.
|
UpdateAppRequest |
withServerGroups(Collection<ServerGroup> serverGroups)
List of server groups in the application to update.
|
UpdateAppRequest |
withServerGroups(ServerGroup... serverGroups)
List of server groups in the application to update.
|
UpdateAppRequest |
withTags(Collection<Tag> tags)
List of tags to associate with the application.
|
UpdateAppRequest |
withTags(Tag... tags)
List of tags to associate 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 setAppId(String appId)
ID of the application to update.
appId
- ID of the application to update.public String getAppId()
ID of the application to update.
public UpdateAppRequest withAppId(String appId)
ID of the application to update.
appId
- ID of the application to update.public void setName(String name)
New name of the application.
name
- New name of the application.public String getName()
New name of the application.
public UpdateAppRequest withName(String name)
New name of the application.
name
- New name of the application.public void setDescription(String description)
New description of the application.
description
- New description of the application.public String getDescription()
New description of the application.
public UpdateAppRequest withDescription(String description)
New description of the application.
description
- New description of the application.public void setRoleName(String roleName)
Name of the service role in the customer's account used by AWS SMS.
roleName
- Name of the service role in the customer's account used by AWS SMS.public String getRoleName()
Name of the service role in the customer's account used by AWS SMS.
public UpdateAppRequest withRoleName(String roleName)
Name of the service role in the customer's account used by AWS SMS.
roleName
- Name of the service role in the customer's account used by AWS SMS.public List<ServerGroup> getServerGroups()
List of server groups in the application to update.
public void setServerGroups(Collection<ServerGroup> serverGroups)
List of server groups in the application to update.
serverGroups
- List of server groups in the application to update.public UpdateAppRequest withServerGroups(ServerGroup... serverGroups)
List of server groups in the application to update.
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 in the application to update.public UpdateAppRequest withServerGroups(Collection<ServerGroup> serverGroups)
List of server groups in the application to update.
serverGroups
- List of server groups in the application to update.public List<Tag> getTags()
List of tags to associate with the application.
public void setTags(Collection<Tag> tags)
List of tags to associate with the application.
tags
- List of tags to associate with the application.public UpdateAppRequest withTags(Tag... tags)
List of tags to associate 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 associate with the application.public UpdateAppRequest withTags(Collection<Tag> tags)
List of tags to associate with the application.
tags
- List of tags to associate with the application.public String toString()
toString
in class Object
Object.toString()
public UpdateAppRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.