@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 raw text file that contains the license of the app that matches the spdxLicenseID of your application.
|
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 you want to publish.
|
String |
getReadmeBody()
A raw text Readme file that contains a more detailed description of the application and how it works in markdown
language.
|
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 |
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 raw packaged AWS SAM template of your application.
|
String |
getTemplateUrl()
A link to 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 raw text file that contains the license of the app that matches the spdxLicenseID of your application.
|
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 you want to publish.
|
void |
setReadmeBody(String readmeBody)
A raw text Readme file that contains a more detailed description of the application and how it works in markdown
language.
|
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 |
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 raw packaged AWS SAM template of your application.
|
void |
setTemplateUrl(String templateUrl)
A link to the packaged AWS SAM template of your application.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 raw text file that contains the license of the app that matches the spdxLicenseID of your application.
|
CreateApplicationRequest |
withLicenseUrl(String licenseUrl)
A link to a license file of the app that matches the spdxLicenseID of your application.
|
CreateApplicationRequest |
withName(String name)
The name of the application you want to publish.
|
CreateApplicationRequest |
withReadmeBody(String readmeBody)
A raw text Readme file that contains a more detailed description of the application and how it works in markdown
language.
|
CreateApplicationRequest |
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.
|
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 raw packaged AWS SAM template of your application.
|
CreateApplicationRequest |
withTemplateUrl(String templateUrl)
A link to 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, withSdkRequestTimeout
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 CreateApplicationRequest 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 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 CreateApplicationRequest 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 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.
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 CreateApplicationRequest 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 CreateApplicationRequest 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 setLicenseBody(String licenseBody)
A raw text file that contains the license of the app that matches the spdxLicenseID of your application.
Max size 5 MB
licenseBody
- A raw text file that contains the license of the app that matches the spdxLicenseID of your
application.
Max size 5 MB
public String getLicenseBody()
A raw text file that contains the license of the app that matches the spdxLicenseID of your application.
Max size 5 MB
Max size 5 MB
public CreateApplicationRequest withLicenseBody(String licenseBody)
A raw text file that contains the license of the app that matches the spdxLicenseID of your application.
Max size 5 MB
licenseBody
- A raw text file that contains the license of the app that matches the spdxLicenseID of your
application.
Max size 5 MB
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 CreateApplicationRequest 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 you want to publish.
Min Length=1. Max Length=140
Pattern: "[a-zA-Z0-9\\-]+";
name
- The name of the application you want to publish.
Min Length=1. Max Length=140
Pattern: "[a-zA-Z0-9\\-]+";
public String getName()
The name of the application you want to publish.
Min Length=1. Max Length=140
Pattern: "[a-zA-Z0-9\\-]+";
Min Length=1. Max Length=140
Pattern: "[a-zA-Z0-9\\-]+";
public CreateApplicationRequest withName(String name)
The name of the application you want to publish.
Min Length=1. Max Length=140
Pattern: "[a-zA-Z0-9\\-]+";
name
- The name of the application you want to publish.
Min Length=1. Max Length=140
Pattern: "[a-zA-Z0-9\\-]+";
public void setReadmeBody(String readmeBody)
A raw text Readme file that contains a more detailed description of the application and how it works in markdown language.
Max size 5 MB
readmeBody
- A raw text Readme file that contains a more detailed description of the application and how it works in
markdown language.
Max size 5 MB
public String getReadmeBody()
A raw text 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 CreateApplicationRequest withReadmeBody(String readmeBody)
A raw text Readme file that contains a more detailed description of the application and how it works in markdown language.
Max size 5 MB
readmeBody
- A raw text Readme file that contains a more detailed description of the application and how it works in
markdown language.
Max size 5 MB
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 CreateApplicationRequest 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 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 raw packaged AWS SAM template of your application.
templateBody
- The raw packaged AWS SAM template of your application.public String getTemplateBody()
The raw packaged AWS SAM template of your application.
public CreateApplicationRequest withTemplateBody(String templateBody)
The raw packaged AWS SAM template of your application.
templateBody
- The raw packaged AWS SAM template of your application.public void setTemplateUrl(String templateUrl)
A link to the packaged AWS SAM template of your application.
templateUrl
- A link to the packaged AWS SAM template of your application.public String getTemplateUrl()
A link to the packaged AWS SAM template of your application.
public CreateApplicationRequest withTemplateUrl(String templateUrl)
A link to the packaged AWS SAM template of your application.
templateUrl
- A link to the packaged AWS SAM template of your application.public String toString()
toString
in class Object
Object.toString()
public CreateApplicationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.