@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 | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
String | 
getAuthor()
 The name of the author publishing the app. 
 | 
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 | 
getLicenseBody()
 A local text file that contains the license of the app that matches the spdxLicenseID value of your application. 
 | 
String | 
getLicenseUrl()
 A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your
 application. 
 | 
String | 
getName()
 The name of the application that you want to publish. 
 | 
String | 
getReadmeBody()
 A local text readme file in Markdown language that contains a more detailed description of the application and
 how it works. 
 | 
String | 
getReadmeUrl()
 A link to the S3 object in Markdown language that contains a more detailed description of the application and how
 it works. 
 | 
String | 
getSemanticVersion()
 The semantic version of the application: 
 | 
String | 
getSourceCodeUrl()
 A link to a public repository for the source code of your application. 
 | 
String | 
getSpdxLicenseId()
 A valid identifier from https://spdx.org/licenses/. 
 | 
String | 
getTemplateBody()
 The local raw packaged AWS SAM template file of your application. 
 | 
String | 
getTemplateUrl()
 A link to the S3 object containing the packaged AWS SAM template of your application. 
 | 
int | 
hashCode()  | 
void | 
setAuthor(String author)
 The name of the author publishing the app. 
 | 
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 | 
setLicenseBody(String licenseBody)
 A local text file that contains the license of the app that matches the spdxLicenseID value of your application. 
 | 
void | 
setLicenseUrl(String licenseUrl)
 A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your
 application. 
 | 
void | 
setName(String name)
 The name of the application that you want to publish. 
 | 
void | 
setReadmeBody(String readmeBody)
 A local text readme file in Markdown language that contains a more detailed description of the application and
 how it works. 
 | 
void | 
setReadmeUrl(String readmeUrl)
 A link to the S3 object in Markdown language that contains a more detailed description of the application and how
 it works. 
 | 
void | 
setSemanticVersion(String semanticVersion)
 The semantic version of the application: 
 | 
void | 
setSourceCodeUrl(String sourceCodeUrl)
 A link to a public repository for the source code of your application. 
 | 
void | 
setSpdxLicenseId(String spdxLicenseId)
 A valid identifier from https://spdx.org/licenses/. 
 | 
void | 
setTemplateBody(String templateBody)
 The local raw packaged AWS SAM template file of your application. 
 | 
void | 
setTemplateUrl(String templateUrl)
 A link to the S3 object containing the packaged AWS SAM template of your application. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateApplicationRequest | 
withAuthor(String author)
 The name of the author publishing the app. 
 | 
CreateApplicationRequest | 
withDescription(String description)
 The description of the application. 
 | 
CreateApplicationRequest | 
withHomePageUrl(String homePageUrl)
 A URL with more information about the application, for example the location of your GitHub repository for the
 application. 
 | 
CreateApplicationRequest | 
withLabels(Collection<String> labels)
 Labels to improve discovery of apps in search results. 
 | 
CreateApplicationRequest | 
withLabels(String... labels)
 Labels to improve discovery of apps in search results. 
 | 
CreateApplicationRequest | 
withLicenseBody(String licenseBody)
 A local text file that contains the license of the app that matches the spdxLicenseID value of your application. 
 | 
CreateApplicationRequest | 
withLicenseUrl(String licenseUrl)
 A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your
 application. 
 | 
CreateApplicationRequest | 
withName(String name)
 The name of the application that you want to publish. 
 | 
CreateApplicationRequest | 
withReadmeBody(String readmeBody)
 A local text readme file in Markdown language that contains a more detailed description of the application and
 how it works. 
 | 
CreateApplicationRequest | 
withReadmeUrl(String readmeUrl)
 A link to the S3 object in Markdown language that contains a more detailed description of the application and how
 it works. 
 | 
CreateApplicationRequest | 
withSemanticVersion(String semanticVersion)
 The semantic version of the application: 
 | 
CreateApplicationRequest | 
withSourceCodeUrl(String sourceCodeUrl)
 A link to a public repository for the source code of your application. 
 | 
CreateApplicationRequest | 
withSpdxLicenseId(String spdxLicenseId)
 A valid identifier from https://spdx.org/licenses/. 
 | 
CreateApplicationRequest | 
withTemplateBody(String templateBody)
 The local raw packaged AWS SAM template file of your application. 
 | 
CreateApplicationRequest | 
withTemplateUrl(String templateUrl)
 A link to the S3 object containing the packaged AWS SAM template of your 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, withSdkRequestTimeoutpublic void setAuthor(String author)
The name of the author publishing the app.
Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
author - The name of the author publishing the app.
        Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
public String getAuthor()
The name of the author publishing the app.
Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
public CreateApplicationRequest withAuthor(String author)
The name of the author publishing the app.
Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
author - The name of the author publishing the app.
        Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
public void setDescription(String description)
The description of the application.
Minimum length=1. Maximum length=256
description - The description of the application.
        Minimum length=1. Maximum length=256
public String getDescription()
The description of the application.
Minimum length=1. Maximum length=256
Minimum length=1. Maximum length=256
public CreateApplicationRequest withDescription(String description)
The description of the application.
Minimum length=1. Maximum length=256
description - The description of the application.
        Minimum length=1. Maximum 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 CreateApplicationRequest 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.
Minimum length=1. Maximum length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
Minimum length=1. Maximum 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.
Minimum length=1. Maximum length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
labels - Labels to improve discovery of apps in search results.
        Minimum length=1. Maximum length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
public CreateApplicationRequest withLabels(String... labels)
Labels to improve discovery of apps in search results.
Minimum length=1. Maximum 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.
        Minimum length=1. Maximum length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
public CreateApplicationRequest withLabels(Collection<String> labels)
Labels to improve discovery of apps in search results.
Minimum length=1. Maximum length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
labels - Labels to improve discovery of apps in search results.
        Minimum length=1. Maximum length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
public void setLicenseBody(String licenseBody)
A local text file that contains the license of the app that matches the spdxLicenseID value of your application. The file has the format file://<path>/<filename>.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
licenseBody - A local text file that contains the license of the app that matches the spdxLicenseID value of your
        application. The file has the format file://<path>/<filename>.
        Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
public String getLicenseBody()
A local text file that contains the license of the app that matches the spdxLicenseID value of your application. The file has the format file://<path>/<filename>.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
public CreateApplicationRequest withLicenseBody(String licenseBody)
A local text file that contains the license of the app that matches the spdxLicenseID value of your application. The file has the format file://<path>/<filename>.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
licenseBody - A local text file that contains the license of the app that matches the spdxLicenseID value of your
        application. The file has the format file://<path>/<filename>.
        Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
public void setLicenseUrl(String licenseUrl)
A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your application.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
licenseUrl - A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your
        application.
        Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
public String getLicenseUrl()
A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your application.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
public CreateApplicationRequest withLicenseUrl(String licenseUrl)
A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your application.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
licenseUrl - A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your
        application.
        Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
public void setName(String name)
The name of the application that you want to publish.
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
name - The name of the application that you want to publish.
        Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
public String getName()
The name of the application that you want to publish.
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
public CreateApplicationRequest withName(String name)
The name of the application that you want to publish.
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
name - The name of the application that you want to publish.
        Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
public void setReadmeBody(String readmeBody)
A local text readme file in Markdown language that contains a more detailed description of the application and how it works. The file has the format file://<path>/<filename>.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
readmeBody - A local text readme file in Markdown language that contains a more detailed description of the application
        and how it works. The file has the format file://<path>/<filename>.
        Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
public String getReadmeBody()
A local text readme file in Markdown language that contains a more detailed description of the application and how it works. The file has the format file://<path>/<filename>.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
public CreateApplicationRequest withReadmeBody(String readmeBody)
A local text readme file in Markdown language that contains a more detailed description of the application and how it works. The file has the format file://<path>/<filename>.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
readmeBody - A local text readme file in Markdown language that contains a more detailed description of the application
        and how it works. The file has the format file://<path>/<filename>.
        Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
public void setReadmeUrl(String readmeUrl)
A link to the S3 object in Markdown language that contains a more detailed description of the application and how it works.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
readmeUrl - A link to the S3 object in Markdown language that contains a more detailed description of the application
        and how it works.
        Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
public String getReadmeUrl()
A link to the S3 object in Markdown language that contains a more detailed description of the application and how it works.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
public CreateApplicationRequest withReadmeUrl(String readmeUrl)
A link to the S3 object in Markdown language that contains a more detailed description of the application and how it works.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
readmeUrl - A link to the S3 object in Markdown language that contains a more detailed description of the application
        and how it works.
        Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
public void setSemanticVersion(String semanticVersion)
The semantic version of the application:
semanticVersion - The semantic version of the application:
        public String getSemanticVersion()
The semantic version of the application:
public CreateApplicationRequest withSemanticVersion(String semanticVersion)
The semantic version of the application:
semanticVersion - The semantic version of the application:
        public void setSourceCodeUrl(String sourceCodeUrl)
A link to a public repository for the source code of your application.
sourceCodeUrl - A link to a public repository for the source code of your application.public String getSourceCodeUrl()
A link to a public repository for the source code of your application.
public CreateApplicationRequest withSourceCodeUrl(String sourceCodeUrl)
A link to a public repository for the source code of your application.
sourceCodeUrl - A link to a public repository for the source code of your application.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 CreateApplicationRequest withSpdxLicenseId(String spdxLicenseId)
A valid identifier from https://spdx.org/licenses/.
spdxLicenseId - A valid identifier from https://spdx.org/licenses/.public void setTemplateBody(String templateBody)
The local raw packaged AWS SAM template file of your application. The file has the format file://<path>/<filename>.
You can specify only one of templateBody and templateUrl; otherwise an error results.
templateBody - The local raw packaged AWS SAM template file of your application. The file has the format
        file://<path>/<filename>.
        You can specify only one of templateBody and templateUrl; otherwise an error results.
public String getTemplateBody()
The local raw packaged AWS SAM template file of your application. The file has the format file://<path>/<filename>.
You can specify only one of templateBody and templateUrl; otherwise an error results.
You can specify only one of templateBody and templateUrl; otherwise an error results.
public CreateApplicationRequest withTemplateBody(String templateBody)
The local raw packaged AWS SAM template file of your application. The file has the format file://<path>/<filename>.
You can specify only one of templateBody and templateUrl; otherwise an error results.
templateBody - The local raw packaged AWS SAM template file of your application. The file has the format
        file://<path>/<filename>.
        You can specify only one of templateBody and templateUrl; otherwise an error results.
public void setTemplateUrl(String templateUrl)
A link to the S3 object containing the packaged AWS SAM template of your application.
You can specify only one of templateBody and templateUrl; otherwise an error results.
templateUrl - A link to the S3 object containing the packaged AWS SAM template of your application.
        You can specify only one of templateBody and templateUrl; otherwise an error results.
public String getTemplateUrl()
A link to the S3 object containing the packaged AWS SAM template of your application.
You can specify only one of templateBody and templateUrl; otherwise an error results.
You can specify only one of templateBody and templateUrl; otherwise an error results.
public CreateApplicationRequest withTemplateUrl(String templateUrl)
A link to the S3 object containing the packaged AWS SAM template of your application.
You can specify only one of templateBody and templateUrl; otherwise an error results.
templateUrl - A link to the S3 object containing the packaged AWS SAM template of your application.
        You can specify only one of templateBody and templateUrl; otherwise an error results.
public String toString()
toString in class ObjectObject.toString()public CreateApplicationRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.