@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 |
getAppName()
The name of the app.
|
String |
getAppType()
The type of app.
|
String |
getDomainId()
The domain ID.
|
ResourceSpec |
getResourceSpec()
The instance type and quantity.
|
List<Tag> |
getTags()
Each tag consists of a key and an optional value.
|
String |
getUserProfileName()
The user profile name.
|
int |
hashCode() |
void |
setAppName(String appName)
The name of the app.
|
void |
setAppType(String appType)
The type of app.
|
void |
setDomainId(String domainId)
The domain ID.
|
void |
setResourceSpec(ResourceSpec resourceSpec)
The instance type and quantity.
|
void |
setTags(Collection<Tag> tags)
Each tag consists of a key and an optional value.
|
void |
setUserProfileName(String userProfileName)
The user profile name.
|
String |
toString()
Returns a string representation of this object.
|
CreateAppRequest |
withAppName(String appName)
The name of the app.
|
CreateAppRequest |
withAppType(AppType appType)
The type of app.
|
CreateAppRequest |
withAppType(String appType)
The type of app.
|
CreateAppRequest |
withDomainId(String domainId)
The domain ID.
|
CreateAppRequest |
withResourceSpec(ResourceSpec resourceSpec)
The instance type and quantity.
|
CreateAppRequest |
withTags(Collection<Tag> tags)
Each tag consists of a key and an optional value.
|
CreateAppRequest |
withTags(Tag... tags)
Each tag consists of a key and an optional value.
|
CreateAppRequest |
withUserProfileName(String userProfileName)
The user profile name.
|
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 setDomainId(String domainId)
The domain ID.
domainId
- The domain ID.public String getDomainId()
The domain ID.
public CreateAppRequest withDomainId(String domainId)
The domain ID.
domainId
- The domain ID.public void setUserProfileName(String userProfileName)
The user profile name.
userProfileName
- The user profile name.public String getUserProfileName()
The user profile name.
public CreateAppRequest withUserProfileName(String userProfileName)
The user profile name.
userProfileName
- The user profile name.public void setAppType(String appType)
The type of app.
appType
- The type of app.AppType
public CreateAppRequest withAppType(String appType)
The type of app.
appType
- The type of app.AppType
public CreateAppRequest withAppType(AppType appType)
The type of app.
appType
- The type of app.AppType
public void setAppName(String appName)
The name of the app.
appName
- The name of the app.public String getAppName()
The name of the app.
public CreateAppRequest withAppName(String appName)
The name of the app.
appName
- The name of the app.public List<Tag> getTags()
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
public void setTags(Collection<Tag> tags)
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
tags
- Each tag consists of a key and an optional value. Tag keys must be unique per resource.public CreateAppRequest withTags(Tag... tags)
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
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
- Each tag consists of a key and an optional value. Tag keys must be unique per resource.public CreateAppRequest withTags(Collection<Tag> tags)
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
tags
- Each tag consists of a key and an optional value. Tag keys must be unique per resource.public void setResourceSpec(ResourceSpec resourceSpec)
The instance type and quantity.
resourceSpec
- The instance type and quantity.public ResourceSpec getResourceSpec()
The instance type and quantity.
public CreateAppRequest withResourceSpec(ResourceSpec resourceSpec)
The instance type and quantity.
resourceSpec
- The instance type and quantity.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.