@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()
The ID of the application.
|
String |
getDescription()
The new description of the application.
|
String |
getName()
The new name of the application.
|
String |
getRoleName()
The name of the service role in the customer's account used by Server Migration Service.
|
List<ServerGroup> |
getServerGroups()
The server groups in the application to update.
|
List<Tag> |
getTags()
The tags to associate with the application.
|
int |
hashCode() |
void |
setAppId(String appId)
The ID of the application.
|
void |
setDescription(String description)
The new description of the application.
|
void |
setName(String name)
The new name of the application.
|
void |
setRoleName(String roleName)
The name of the service role in the customer's account used by Server Migration Service.
|
void |
setServerGroups(Collection<ServerGroup> serverGroups)
The server groups in the application to update.
|
void |
setTags(Collection<Tag> tags)
The tags to associate with the application.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAppRequest |
withAppId(String appId)
The ID of the application.
|
UpdateAppRequest |
withDescription(String description)
The new description of the application.
|
UpdateAppRequest |
withName(String name)
The new name of the application.
|
UpdateAppRequest |
withRoleName(String roleName)
The name of the service role in the customer's account used by Server Migration Service.
|
UpdateAppRequest |
withServerGroups(Collection<ServerGroup> serverGroups)
The server groups in the application to update.
|
UpdateAppRequest |
withServerGroups(ServerGroup... serverGroups)
The server groups in the application to update.
|
UpdateAppRequest |
withTags(Collection<Tag> tags)
The tags to associate with the application.
|
UpdateAppRequest |
withTags(Tag... tags)
The 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)
The ID of the application.
appId
- The ID of the application.public String getAppId()
The ID of the application.
public UpdateAppRequest withAppId(String appId)
The ID of the application.
appId
- The ID of the application.public void setName(String name)
The new name of the application.
name
- The new name of the application.public String getName()
The new name of the application.
public UpdateAppRequest withName(String name)
The new name of the application.
name
- The new name of the application.public void setDescription(String description)
The new description of the application.
description
- The new description of the application.public String getDescription()
The new description of the application.
public UpdateAppRequest withDescription(String description)
The new description of the application.
description
- The new description of the application.public void setRoleName(String roleName)
The name of the service role in the customer's account used by Server Migration Service.
roleName
- The name of the service role in the customer's account used by Server Migration Service.public String getRoleName()
The name of the service role in the customer's account used by Server Migration Service.
public UpdateAppRequest withRoleName(String roleName)
The name of the service role in the customer's account used by Server Migration Service.
roleName
- The name of the service role in the customer's account used by Server Migration Service.public List<ServerGroup> getServerGroups()
The server groups in the application to update.
public void setServerGroups(Collection<ServerGroup> serverGroups)
The server groups in the application to update.
serverGroups
- The server groups in the application to update.public UpdateAppRequest withServerGroups(ServerGroup... serverGroups)
The 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
- The server groups in the application to update.public UpdateAppRequest withServerGroups(Collection<ServerGroup> serverGroups)
The server groups in the application to update.
serverGroups
- The server groups in the application to update.public List<Tag> getTags()
The tags to associate with the application.
public void setTags(Collection<Tag> tags)
The tags to associate with the application.
tags
- The tags to associate with the application.public UpdateAppRequest withTags(Tag... tags)
The 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
- The tags to associate with the application.public UpdateAppRequest withTags(Collection<Tag> tags)
The tags to associate with the application.
tags
- The 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()