@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateApplicationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateApplicationResult() |
Modifier and Type | Method and Description |
---|---|
CreateApplicationResult |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The application Amazon Resource Name (ARN).
|
String |
getAuthor()
The name of the author publishing the app.
|
String |
getCreationTime()
The date/time this resource was created.
|
String |
getDescription()
The description of the application.
|
String |
getHomePageUrl()
A URL with more information about the application, for example the location of your GitHub repository for the
application.
|
List<String> |
getLabels()
Labels to improve discovery of apps in search results.
|
String |
getLicenseUrl()
A link to a license file of the app that matches the spdxLicenseID of your application.
|
String |
getName()
The name of the application.
|
String |
getReadmeUrl()
A link to the readme file that contains a more detailed description of the application and how it works in
Markdown language.
|
String |
getSpdxLicenseId()
A valid identifier from https://spdx.org/licenses/.
|
Version |
getVersion()
Version information about the application.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The application Amazon Resource Name (ARN).
|
void |
setAuthor(String author)
The name of the author publishing the app.
|
void |
setCreationTime(String creationTime)
The date/time this resource was created.
|
void |
setDescription(String description)
The description of the application.
|
void |
setHomePageUrl(String homePageUrl)
A URL with more information about the application, for example the location of your GitHub repository for the
application.
|
void |
setLabels(Collection<String> labels)
Labels to improve discovery of apps in search results.
|
void |
setLicenseUrl(String licenseUrl)
A link to a license file of the app that matches the spdxLicenseID of your application.
|
void |
setName(String name)
The name of the application.
|
void |
setReadmeUrl(String readmeUrl)
A link to the readme file that contains a more detailed description of the application and how it works in
Markdown language.
|
void |
setSpdxLicenseId(String spdxLicenseId)
A valid identifier from https://spdx.org/licenses/.
|
void |
setVersion(Version version)
Version information about the application.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateApplicationResult |
withApplicationId(String applicationId)
The application Amazon Resource Name (ARN).
|
CreateApplicationResult |
withAuthor(String author)
The name of the author publishing the app.
|
CreateApplicationResult |
withCreationTime(String creationTime)
The date/time this resource was created.
|
CreateApplicationResult |
withDescription(String description)
The description of the application.
|
CreateApplicationResult |
withHomePageUrl(String homePageUrl)
A URL with more information about the application, for example the location of your GitHub repository for the
application.
|
CreateApplicationResult |
withLabels(Collection<String> labels)
Labels to improve discovery of apps in search results.
|
CreateApplicationResult |
withLabels(String... labels)
Labels to improve discovery of apps in search results.
|
CreateApplicationResult |
withLicenseUrl(String licenseUrl)
A link to a license file of the app that matches the spdxLicenseID of your application.
|
CreateApplicationResult |
withName(String name)
The name of the application.
|
CreateApplicationResult |
withReadmeUrl(String readmeUrl)
A link to the readme file that contains a more detailed description of the application and how it works in
Markdown language.
|
CreateApplicationResult |
withSpdxLicenseId(String spdxLicenseId)
A valid identifier from https://spdx.org/licenses/.
|
CreateApplicationResult |
withVersion(Version version)
Version information about the application.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setApplicationId(String applicationId)
The application Amazon Resource Name (ARN).
applicationId
- The application Amazon Resource Name (ARN).public String getApplicationId()
The application Amazon Resource Name (ARN).
public CreateApplicationResult withApplicationId(String applicationId)
The application Amazon Resource Name (ARN).
applicationId
- The application Amazon Resource Name (ARN).public void setAuthor(String author)
The name of the author publishing the app.
Min Length=1. Max Length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
author
- The name of the author publishing the app.
Min Length=1. Max Length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
public String getAuthor()
The name of the author publishing the app.
Min Length=1. Max Length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
Min Length=1. Max Length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
public CreateApplicationResult withAuthor(String author)
The name of the author publishing the app.
Min Length=1. Max Length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
author
- The name of the author publishing the app.
Min Length=1. Max Length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
public void setCreationTime(String creationTime)
The date/time this resource was created.
creationTime
- The date/time this resource was created.public String getCreationTime()
The date/time this resource was created.
public CreateApplicationResult withCreationTime(String creationTime)
The date/time this resource was created.
creationTime
- The date/time this resource was created.public void setDescription(String description)
The description of the application.
Min Length=1. Max Length=256
description
- The description of the application.
Min Length=1. Max Length=256
public String getDescription()
The description of the application.
Min Length=1. Max Length=256
Min Length=1. Max Length=256
public CreateApplicationResult withDescription(String description)
The description of the application.
Min Length=1. Max Length=256
description
- The description of the application.
Min Length=1. Max Length=256
public void setHomePageUrl(String homePageUrl)
A URL with more information about the application, for example the location of your GitHub repository for the application.
homePageUrl
- A URL with more information about the application, for example the location of your GitHub repository for
the application.public String getHomePageUrl()
A URL with more information about the application, for example the location of your GitHub repository for the application.
public CreateApplicationResult withHomePageUrl(String homePageUrl)
A URL with more information about the application, for example the location of your GitHub repository for the application.
homePageUrl
- A URL with more information about the application, for example the location of your GitHub repository for
the application.public List<String> getLabels()
Labels to improve discovery of apps in search results.
Min Length=1. Max Length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
Min Length=1. Max Length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
public void setLabels(Collection<String> labels)
Labels to improve discovery of apps in search results.
Min Length=1. Max Length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
labels
- Labels to improve discovery of apps in search results.
Min Length=1. Max Length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
public CreateApplicationResult withLabels(String... labels)
Labels to improve discovery of apps in search results.
Min Length=1. Max Length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
NOTE: This method appends the values to the existing list (if any). Use
setLabels(java.util.Collection)
or withLabels(java.util.Collection)
if you want to override the
existing values.
labels
- Labels to improve discovery of apps in search results.
Min Length=1. Max Length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
public CreateApplicationResult withLabels(Collection<String> labels)
Labels to improve discovery of apps in search results.
Min Length=1. Max Length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
labels
- Labels to improve discovery of apps in search results.
Min Length=1. Max Length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
public void setLicenseUrl(String licenseUrl)
A link to a license file of the app that matches the spdxLicenseID of your application.
Max size 5 MB
licenseUrl
- A link to a license file of the app that matches the spdxLicenseID of your application.
Max size 5 MB
public String getLicenseUrl()
A link to a license file of the app that matches the spdxLicenseID of your application.
Max size 5 MB
Max size 5 MB
public CreateApplicationResult withLicenseUrl(String licenseUrl)
A link to a license file of the app that matches the spdxLicenseID of your application.
Max size 5 MB
licenseUrl
- A link to a license file of the app that matches the spdxLicenseID of your application.
Max size 5 MB
public void setName(String name)
The name of the application.
Min Length=1. Max Length=140
Pattern: "[a-zA-Z0-9\\-]+";
name
- The name of the application.
Min Length=1. Max Length=140
Pattern: "[a-zA-Z0-9\\-]+";
public String getName()
The name of the application.
Min Length=1. Max Length=140
Pattern: "[a-zA-Z0-9\\-]+";
Min Length=1. Max Length=140
Pattern: "[a-zA-Z0-9\\-]+";
public CreateApplicationResult withName(String name)
The name of the application.
Min Length=1. Max Length=140
Pattern: "[a-zA-Z0-9\\-]+";
name
- The name of the application.
Min Length=1. Max Length=140
Pattern: "[a-zA-Z0-9\\-]+";
public void setReadmeUrl(String readmeUrl)
A link to the readme file that contains a more detailed description of the application and how it works in Markdown language.
Max size 5 MB
readmeUrl
- A link to the readme file that contains a more detailed description of the application and how it works in
Markdown language.
Max size 5 MB
public String getReadmeUrl()
A link to the readme file that contains a more detailed description of the application and how it works in Markdown language.
Max size 5 MB
Max size 5 MB
public CreateApplicationResult withReadmeUrl(String readmeUrl)
A link to the readme file that contains a more detailed description of the application and how it works in Markdown language.
Max size 5 MB
readmeUrl
- A link to the readme file that contains a more detailed description of the application and how it works in
Markdown language.
Max size 5 MB
public void setSpdxLicenseId(String spdxLicenseId)
A valid identifier from https://spdx.org/licenses/.
spdxLicenseId
- A valid identifier from https://spdx.org/licenses/.public String getSpdxLicenseId()
A valid identifier from https://spdx.org/licenses/.
public CreateApplicationResult withSpdxLicenseId(String spdxLicenseId)
A valid identifier from https://spdx.org/licenses/.
spdxLicenseId
- A valid identifier from https://spdx.org/licenses/.public void setVersion(Version version)
Version information about the application.
version
- Version information about the application.public Version getVersion()
Version information about the application.
public CreateApplicationResult withVersion(Version version)
Version information about the application.
version
- Version information about the application.public String toString()
toString
in class Object
Object.toString()
public CreateApplicationResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.