@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateApplicationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateApplicationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateApplicationRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateApplicationRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateApplicationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAppBlockArn()
The app block ARN to which the application should be associated
|
String |
getDescription()
The description of the application.
|
String |
getDisplayName()
The display name of the application.
|
S3Location |
getIconS3Location()
The location in S3 of the application icon.
|
List<String> |
getInstanceFamilies()
The instance families the application supports.
|
String |
getLaunchParameters()
The launch parameters of the application.
|
String |
getLaunchPath()
The launch path of the application.
|
String |
getName()
The name of the application.
|
List<String> |
getPlatforms()
The platforms the application supports.
|
Map<String,String> |
getTags()
The tags assigned to the application.
|
String |
getWorkingDirectory()
The working directory of the application.
|
int |
hashCode() |
void |
setAppBlockArn(String appBlockArn)
The app block ARN to which the application should be associated
|
void |
setDescription(String description)
The description of the application.
|
void |
setDisplayName(String displayName)
The display name of the application.
|
void |
setIconS3Location(S3Location iconS3Location)
The location in S3 of the application icon.
|
void |
setInstanceFamilies(Collection<String> instanceFamilies)
The instance families the application supports.
|
void |
setLaunchParameters(String launchParameters)
The launch parameters of the application.
|
void |
setLaunchPath(String launchPath)
The launch path of the application.
|
void |
setName(String name)
The name of the application.
|
void |
setPlatforms(Collection<String> platforms)
The platforms the application supports.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the application.
|
void |
setWorkingDirectory(String workingDirectory)
The working directory of the application.
|
String |
toString()
Returns a string representation of this object.
|
CreateApplicationRequest |
withAppBlockArn(String appBlockArn)
The app block ARN to which the application should be associated
|
CreateApplicationRequest |
withDescription(String description)
The description of the application.
|
CreateApplicationRequest |
withDisplayName(String displayName)
The display name of the application.
|
CreateApplicationRequest |
withIconS3Location(S3Location iconS3Location)
The location in S3 of the application icon.
|
CreateApplicationRequest |
withInstanceFamilies(Collection<String> instanceFamilies)
The instance families the application supports.
|
CreateApplicationRequest |
withInstanceFamilies(String... instanceFamilies)
The instance families the application supports.
|
CreateApplicationRequest |
withLaunchParameters(String launchParameters)
The launch parameters of the application.
|
CreateApplicationRequest |
withLaunchPath(String launchPath)
The launch path of the application.
|
CreateApplicationRequest |
withName(String name)
The name of the application.
|
CreateApplicationRequest |
withPlatforms(Collection<String> platforms)
The platforms the application supports.
|
CreateApplicationRequest |
withPlatforms(PlatformType... platforms)
The platforms the application supports.
|
CreateApplicationRequest |
withPlatforms(String... platforms)
The platforms the application supports.
|
CreateApplicationRequest |
withTags(Map<String,String> tags)
The tags assigned to the application.
|
CreateApplicationRequest |
withWorkingDirectory(String workingDirectory)
The working directory of 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 application. This name is visible to users when display name is not specified.
name
- The name of the application. This name is visible to users when display name is not specified.public String getName()
The name of the application. This name is visible to users when display name is not specified.
public CreateApplicationRequest withName(String name)
The name of the application. This name is visible to users when display name is not specified.
name
- The name of the application. This name is visible to users when display name is not specified.public void setDisplayName(String displayName)
The display name of the application. This name is visible to users in the application catalog.
displayName
- The display name of the application. This name is visible to users in the application catalog.public String getDisplayName()
The display name of the application. This name is visible to users in the application catalog.
public CreateApplicationRequest withDisplayName(String displayName)
The display name of the application. This name is visible to users in the application catalog.
displayName
- The display name of the application. This name is visible to users in the application catalog.public void setDescription(String description)
The description of the application.
description
- The description of the application.public String getDescription()
The description of the application.
public CreateApplicationRequest withDescription(String description)
The description of the application.
description
- The description of the application.public void setIconS3Location(S3Location iconS3Location)
The location in S3 of the application icon.
iconS3Location
- The location in S3 of the application icon.public S3Location getIconS3Location()
The location in S3 of the application icon.
public CreateApplicationRequest withIconS3Location(S3Location iconS3Location)
The location in S3 of the application icon.
iconS3Location
- The location in S3 of the application icon.public void setLaunchPath(String launchPath)
The launch path of the application.
launchPath
- The launch path of the application.public String getLaunchPath()
The launch path of the application.
public CreateApplicationRequest withLaunchPath(String launchPath)
The launch path of the application.
launchPath
- The launch path of the application.public void setWorkingDirectory(String workingDirectory)
The working directory of the application.
workingDirectory
- The working directory of the application.public String getWorkingDirectory()
The working directory of the application.
public CreateApplicationRequest withWorkingDirectory(String workingDirectory)
The working directory of the application.
workingDirectory
- The working directory of the application.public void setLaunchParameters(String launchParameters)
The launch parameters of the application.
launchParameters
- The launch parameters of the application.public String getLaunchParameters()
The launch parameters of the application.
public CreateApplicationRequest withLaunchParameters(String launchParameters)
The launch parameters of the application.
launchParameters
- The launch parameters of the application.public List<String> getPlatforms()
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
PlatformType
public void setPlatforms(Collection<String> platforms)
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
platforms
- The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic
fleets.PlatformType
public CreateApplicationRequest withPlatforms(String... platforms)
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
NOTE: This method appends the values to the existing list (if any). Use
setPlatforms(java.util.Collection)
or withPlatforms(java.util.Collection)
if you want to
override the existing values.
platforms
- The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic
fleets.PlatformType
public CreateApplicationRequest withPlatforms(Collection<String> platforms)
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
platforms
- The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic
fleets.PlatformType
public CreateApplicationRequest withPlatforms(PlatformType... platforms)
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
platforms
- The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic
fleets.PlatformType
public List<String> getInstanceFamilies()
The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
public void setInstanceFamilies(Collection<String> instanceFamilies)
The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
instanceFamilies
- The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.public CreateApplicationRequest withInstanceFamilies(String... instanceFamilies)
The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceFamilies(java.util.Collection)
or withInstanceFamilies(java.util.Collection)
if you
want to override the existing values.
instanceFamilies
- The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.public CreateApplicationRequest withInstanceFamilies(Collection<String> instanceFamilies)
The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
instanceFamilies
- The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.public void setAppBlockArn(String appBlockArn)
The app block ARN to which the application should be associated
appBlockArn
- The app block ARN to which the application should be associatedpublic String getAppBlockArn()
The app block ARN to which the application should be associated
public CreateApplicationRequest withAppBlockArn(String appBlockArn)
The app block ARN to which the application should be associated
appBlockArn
- The app block ARN to which the application should be associatedpublic Map<String,String> getTags()
The tags assigned to the application.
public void setTags(Map<String,String> tags)
The tags assigned to the application.
tags
- The tags assigned to the application.public CreateApplicationRequest withTags(Map<String,String> tags)
The tags assigned to the application.
tags
- The tags assigned to the application.public CreateApplicationRequest addTagsEntry(String key, String value)
public CreateApplicationRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateApplicationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()