@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.\nMin Length=1.
|
String |
getDescription()
The description of the application.\nMin Length=1.
|
List<String> |
getLabels()
Labels to improve discovery of apps in search results.\nMin Length=1.
|
String |
getLicenseBody()
A raw text file that contains the license of the app that matches the spdxLicenseID of your application.\nMax
size 5 MB
|
String |
getLicenseUrl()
A link to a license file of the app that matches the spdxLicenseID of your application.\nMax size 5 MB
|
String |
getName()
The name of the application you want to publish.\nMin Length=1.
|
String |
getReadmeBody()
A raw text Readme file that contains a more detailed description of the application and how it works in markdown
language.\nMax size 5 MB
|
String |
getReadmeUrl()
A link to the Readme file that contains a more detailed description of the application and how it works in
markdown language.\nMax size 5 MB
|
String |
getSemanticVersion()
The semantic version of the application:\n\n https://semver.org/
|
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 SAM template of your application.
|
String |
getTemplateUrl()
A link to the packaged SAM template of your application.
|
int |
hashCode() |
void |
setAuthor(String author)
The name of the author publishing the app.\nMin Length=1.
|
void |
setDescription(String description)
The description of the application.\nMin Length=1.
|
void |
setLabels(Collection<String> labels)
Labels to improve discovery of apps in search results.\nMin Length=1.
|
void |
setLicenseBody(String licenseBody)
A raw text file that contains the license of the app that matches the spdxLicenseID of your application.\nMax
size 5 MB
|
void |
setLicenseUrl(String licenseUrl)
A link to a license file of the app that matches the spdxLicenseID of your application.\nMax size 5 MB
|
void |
setName(String name)
The name of the application you want to publish.\nMin Length=1.
|
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.\nMax size 5 MB
|
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.\nMax size 5 MB
|
void |
setSemanticVersion(String semanticVersion)
The semantic version of the application:\n\n https://semver.org/
|
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 SAM template of your application.
|
void |
setTemplateUrl(String templateUrl)
A link to the packaged 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.\nMin Length=1.
|
CreateApplicationRequest |
withDescription(String description)
The description of the application.\nMin Length=1.
|
CreateApplicationRequest |
withLabels(Collection<String> labels)
Labels to improve discovery of apps in search results.\nMin Length=1.
|
CreateApplicationRequest |
withLabels(String... labels)
Labels to improve discovery of apps in search results.\nMin Length=1.
|
CreateApplicationRequest |
withLicenseBody(String licenseBody)
A raw text file that contains the license of the app that matches the spdxLicenseID of your application.\nMax
size 5 MB
|
CreateApplicationRequest |
withLicenseUrl(String licenseUrl)
A link to a license file of the app that matches the spdxLicenseID of your application.\nMax size 5 MB
|
CreateApplicationRequest |
withName(String name)
The name of the application you want to publish.\nMin Length=1.
|
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.\nMax size 5 MB
|
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.\nMax size 5 MB
|
CreateApplicationRequest |
withSemanticVersion(String semanticVersion)
The semantic version of the application:\n\n https://semver.org/
|
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 SAM template of your application.
|
CreateApplicationRequest |
withTemplateUrl(String templateUrl)
A link to the packaged 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)
author
- The name of the author publishing the app.\nMin Length=1. Max Length=127.\nPattern
"^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";public String getAuthor()
public CreateApplicationRequest withAuthor(String author)
author
- The name of the author publishing the app.\nMin Length=1. Max Length=127.\nPattern
"^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";public void setDescription(String description)
description
- The description of the application.\nMin Length=1. Max Length=256public String getDescription()
public CreateApplicationRequest withDescription(String description)
description
- The description of the application.\nMin Length=1. Max Length=256public List<String> getLabels()
public void setLabels(Collection<String> labels)
labels
- Labels to improve discovery of apps in search results.\nMin Length=1. Max Length=127. Maximum number of
labels: 10\nPattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";public CreateApplicationRequest withLabels(String... labels)
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.\nMin Length=1. Max Length=127. Maximum number of
labels: 10\nPattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";public CreateApplicationRequest withLabels(Collection<String> labels)
labels
- Labels to improve discovery of apps in search results.\nMin Length=1. Max Length=127. Maximum number of
labels: 10\nPattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";public void setLicenseBody(String licenseBody)
licenseBody
- A raw text file that contains the license of the app that matches the spdxLicenseID of your
application.\nMax size 5 MBpublic String getLicenseBody()
public CreateApplicationRequest withLicenseBody(String licenseBody)
licenseBody
- A raw text file that contains the license of the app that matches the spdxLicenseID of your
application.\nMax size 5 MBpublic void setLicenseUrl(String licenseUrl)
licenseUrl
- A link to a license file of the app that matches the spdxLicenseID of your application.\nMax size 5 MBpublic String getLicenseUrl()
public CreateApplicationRequest withLicenseUrl(String licenseUrl)
licenseUrl
- A link to a license file of the app that matches the spdxLicenseID of your application.\nMax size 5 MBpublic void setName(String name)
name
- The name of the application you want to publish.\nMin Length=1. Max Length=140\nPattern:
"[a-zA-Z0-9\\-]+";public String getName()
public CreateApplicationRequest withName(String name)
name
- The name of the application you want to publish.\nMin Length=1. Max Length=140\nPattern:
"[a-zA-Z0-9\\-]+";public void setReadmeBody(String readmeBody)
readmeBody
- A raw text Readme file that contains a more detailed description of the application and how it works in
markdown language.\nMax size 5 MBpublic String getReadmeBody()
public CreateApplicationRequest withReadmeBody(String readmeBody)
readmeBody
- A raw text Readme file that contains a more detailed description of the application and how it works in
markdown language.\nMax size 5 MBpublic void setReadmeUrl(String readmeUrl)
readmeUrl
- A link to the Readme file that contains a more detailed description of the application and how it works in
markdown language.\nMax size 5 MBpublic String getReadmeUrl()
public CreateApplicationRequest withReadmeUrl(String readmeUrl)
readmeUrl
- A link to the Readme file that contains a more detailed description of the application and how it works in
markdown language.\nMax size 5 MBpublic void setSemanticVersion(String semanticVersion)
semanticVersion
- The semantic version of the application:\n\n https://semver.org/public String getSemanticVersion()
public CreateApplicationRequest withSemanticVersion(String semanticVersion)
semanticVersion
- The semantic version of the application:\n\n https://semver.org/public void setSourceCodeUrl(String sourceCodeUrl)
sourceCodeUrl
- A link to a public repository for the source code of your application.public String getSourceCodeUrl()
public CreateApplicationRequest withSourceCodeUrl(String sourceCodeUrl)
sourceCodeUrl
- A link to a public repository for the source code of your application.public void setSpdxLicenseId(String spdxLicenseId)
spdxLicenseId
- A valid identifier from https://spdx.org/licenses/ .public String getSpdxLicenseId()
public CreateApplicationRequest withSpdxLicenseId(String spdxLicenseId)
spdxLicenseId
- A valid identifier from https://spdx.org/licenses/ .public void setTemplateBody(String templateBody)
templateBody
- The raw packaged SAM template of your application.public String getTemplateBody()
public CreateApplicationRequest withTemplateBody(String templateBody)
templateBody
- The raw packaged SAM template of your application.public void setTemplateUrl(String templateUrl)
templateUrl
- A link to the packaged SAM template of your application.public String getTemplateUrl()
public CreateApplicationRequest withTemplateUrl(String templateUrl)
templateUrl
- A link to the packaged 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.