@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Application extends Object implements Serializable, Cloneable, StructuredPojo
Describes an application in the application catalog.
Constructor and Description |
---|
Application() |
Modifier and Type | Method and Description |
---|---|
Application |
addMetadataEntry(String key,
String value)
Add a single Metadata entry
|
Application |
clearMetadataEntries()
Removes all the entries added into Metadata.
|
Application |
clone() |
boolean |
equals(Object obj) |
String |
getAppBlockArn()
The app block ARN of the application.
|
String |
getArn()
The ARN of the application.
|
Date |
getCreatedTime()
The time at which the application was created within the app block.
|
String |
getDescription()
The description of the application.
|
String |
getDisplayName()
The application name to display.
|
Boolean |
getEnabled()
If there is a problem, the application can be disabled after image creation.
|
S3Location |
getIconS3Location()
The S3 location of the application icon.
|
String |
getIconURL()
The URL for the application icon.
|
List<String> |
getInstanceFamilies()
The instance families for the application.
|
String |
getLaunchParameters()
The arguments that are passed to the application at launch.
|
String |
getLaunchPath()
The path to the application executable in the instance.
|
Map<String,String> |
getMetadata()
Additional attributes that describe the application.
|
String |
getName()
The name of the application.
|
List<String> |
getPlatforms()
The platforms on which the application can run.
|
String |
getWorkingDirectory()
The working directory for the application.
|
int |
hashCode() |
Boolean |
isEnabled()
If there is a problem, the application can be disabled after image creation.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppBlockArn(String appBlockArn)
The app block ARN of the application.
|
void |
setArn(String arn)
The ARN of the application.
|
void |
setCreatedTime(Date createdTime)
The time at which the application was created within the app block.
|
void |
setDescription(String description)
The description of the application.
|
void |
setDisplayName(String displayName)
The application name to display.
|
void |
setEnabled(Boolean enabled)
If there is a problem, the application can be disabled after image creation.
|
void |
setIconS3Location(S3Location iconS3Location)
The S3 location of the application icon.
|
void |
setIconURL(String iconURL)
The URL for the application icon.
|
void |
setInstanceFamilies(Collection<String> instanceFamilies)
The instance families for the application.
|
void |
setLaunchParameters(String launchParameters)
The arguments that are passed to the application at launch.
|
void |
setLaunchPath(String launchPath)
The path to the application executable in the instance.
|
void |
setMetadata(Map<String,String> metadata)
Additional attributes that describe the application.
|
void |
setName(String name)
The name of the application.
|
void |
setPlatforms(Collection<String> platforms)
The platforms on which the application can run.
|
void |
setWorkingDirectory(String workingDirectory)
The working directory for the application.
|
String |
toString()
Returns a string representation of this object.
|
Application |
withAppBlockArn(String appBlockArn)
The app block ARN of the application.
|
Application |
withArn(String arn)
The ARN of the application.
|
Application |
withCreatedTime(Date createdTime)
The time at which the application was created within the app block.
|
Application |
withDescription(String description)
The description of the application.
|
Application |
withDisplayName(String displayName)
The application name to display.
|
Application |
withEnabled(Boolean enabled)
If there is a problem, the application can be disabled after image creation.
|
Application |
withIconS3Location(S3Location iconS3Location)
The S3 location of the application icon.
|
Application |
withIconURL(String iconURL)
The URL for the application icon.
|
Application |
withInstanceFamilies(Collection<String> instanceFamilies)
The instance families for the application.
|
Application |
withInstanceFamilies(String... instanceFamilies)
The instance families for the application.
|
Application |
withLaunchParameters(String launchParameters)
The arguments that are passed to the application at launch.
|
Application |
withLaunchPath(String launchPath)
The path to the application executable in the instance.
|
Application |
withMetadata(Map<String,String> metadata)
Additional attributes that describe the application.
|
Application |
withName(String name)
The name of the application.
|
Application |
withPlatforms(Collection<String> platforms)
The platforms on which the application can run.
|
Application |
withPlatforms(PlatformType... platforms)
The platforms on which the application can run.
|
Application |
withPlatforms(String... platforms)
The platforms on which the application can run.
|
Application |
withWorkingDirectory(String workingDirectory)
The working directory for the application.
|
public void setName(String name)
The name of the application.
name
- The name of the application.public String getName()
The name of the application.
public Application withName(String name)
The name of the application.
name
- The name of the application.public void setDisplayName(String displayName)
The application name to display.
displayName
- The application name to display.public String getDisplayName()
The application name to display.
public Application withDisplayName(String displayName)
The application name to display.
displayName
- The application name to display.public void setIconURL(String iconURL)
The URL for the application icon. This URL might be time-limited.
iconURL
- The URL for the application icon. This URL might be time-limited.public String getIconURL()
The URL for the application icon. This URL might be time-limited.
public Application withIconURL(String iconURL)
The URL for the application icon. This URL might be time-limited.
iconURL
- The URL for the application icon. This URL might be time-limited.public void setLaunchPath(String launchPath)
The path to the application executable in the instance.
launchPath
- The path to the application executable in the instance.public String getLaunchPath()
The path to the application executable in the instance.
public Application withLaunchPath(String launchPath)
The path to the application executable in the instance.
launchPath
- The path to the application executable in the instance.public void setLaunchParameters(String launchParameters)
The arguments that are passed to the application at launch.
launchParameters
- The arguments that are passed to the application at launch.public String getLaunchParameters()
The arguments that are passed to the application at launch.
public Application withLaunchParameters(String launchParameters)
The arguments that are passed to the application at launch.
launchParameters
- The arguments that are passed to the application at launch.public void setEnabled(Boolean enabled)
If there is a problem, the application can be disabled after image creation.
enabled
- If there is a problem, the application can be disabled after image creation.public Boolean getEnabled()
If there is a problem, the application can be disabled after image creation.
public Application withEnabled(Boolean enabled)
If there is a problem, the application can be disabled after image creation.
enabled
- If there is a problem, the application can be disabled after image creation.public Boolean isEnabled()
If there is a problem, the application can be disabled after image creation.
public Map<String,String> getMetadata()
Additional attributes that describe the application.
public void setMetadata(Map<String,String> metadata)
Additional attributes that describe the application.
metadata
- Additional attributes that describe the application.public Application withMetadata(Map<String,String> metadata)
Additional attributes that describe the application.
metadata
- Additional attributes that describe the application.public Application addMetadataEntry(String key, String value)
public Application clearMetadataEntries()
public void setWorkingDirectory(String workingDirectory)
The working directory for the application.
workingDirectory
- The working directory for the application.public String getWorkingDirectory()
The working directory for the application.
public Application withWorkingDirectory(String workingDirectory)
The working directory for the application.
workingDirectory
- The working directory for the application.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 Application withDescription(String description)
The description of the application.
description
- The description of the application.public void setArn(String arn)
The ARN of the application.
arn
- The ARN of the application.public String getArn()
The ARN of the application.
public Application withArn(String arn)
The ARN of the application.
arn
- The ARN of the application.public void setAppBlockArn(String appBlockArn)
The app block ARN of the application.
appBlockArn
- The app block ARN of the application.public String getAppBlockArn()
The app block ARN of the application.
public Application withAppBlockArn(String appBlockArn)
The app block ARN of the application.
appBlockArn
- The app block ARN of the application.public void setIconS3Location(S3Location iconS3Location)
The S3 location of the application icon.
iconS3Location
- The S3 location of the application icon.public S3Location getIconS3Location()
The S3 location of the application icon.
public Application withIconS3Location(S3Location iconS3Location)
The S3 location of the application icon.
iconS3Location
- The S3 location of the application icon.public List<String> getPlatforms()
The platforms on which the application can run.
PlatformType
public void setPlatforms(Collection<String> platforms)
The platforms on which the application can run.
platforms
- The platforms on which the application can run.PlatformType
public Application withPlatforms(String... platforms)
The platforms on which the application can run.
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 on which the application can run.PlatformType
public Application withPlatforms(Collection<String> platforms)
The platforms on which the application can run.
platforms
- The platforms on which the application can run.PlatformType
public Application withPlatforms(PlatformType... platforms)
The platforms on which the application can run.
platforms
- The platforms on which the application can run.PlatformType
public List<String> getInstanceFamilies()
The instance families for the application.
public void setInstanceFamilies(Collection<String> instanceFamilies)
The instance families for the application.
instanceFamilies
- The instance families for the application.public Application withInstanceFamilies(String... instanceFamilies)
The instance families for the application.
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 for the application.public Application withInstanceFamilies(Collection<String> instanceFamilies)
The instance families for the application.
instanceFamilies
- The instance families for the application.public void setCreatedTime(Date createdTime)
The time at which the application was created within the app block.
createdTime
- The time at which the application was created within the app block.public Date getCreatedTime()
The time at which the application was created within the app block.
public Application withCreatedTime(Date createdTime)
The time at which the application was created within the app block.
createdTime
- The time at which the application was created within the app block.public String toString()
toString
in class Object
Object.toString()
public Application clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.