@Generated(value="software.amazon.awssdk:codegen") public final class CreateApplicationRequest extends ServerlessApplicationRepositoryRequest implements ToCopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateApplicationRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
author()
The name of the author publishing the app.
|
static CreateApplicationRequest.Builder |
builder() |
String |
description()
The description of the application.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
homePageUrl()
A URL with more information about the application, for example the location of your GitHub repository for the
application.
|
List<String> |
labels()
Labels to improve discovery of apps in search results.
|
String |
licenseBody()
A local text file that contains the license of the app that matches the spdxLicenseID value of your application.
|
String |
licenseUrl()
A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your
application.
|
String |
name()
The name of the application that you want to publish.
|
String |
readmeBody()
A local text readme file in Markdown language that contains a more detailed description of the application and
how it works.
|
String |
readmeUrl()
A link to the S3 object in Markdown language that contains a more detailed description of the application and how
it works.
|
List<SdkField<?>> |
sdkFields() |
String |
semanticVersion()
The semantic version of the application:
|
static Class<? extends CreateApplicationRequest.Builder> |
serializableBuilderClass() |
String |
sourceCodeUrl()
A link to a public repository for the source code of your application.
|
String |
spdxLicenseId()
A valid identifier from https://spdx.org/licenses/.
|
String |
templateBody()
The local raw packaged AWS SAM template file of your application.
|
String |
templateUrl()
A link to the S3 object containing the packaged AWS SAM template of your application.
|
CreateApplicationRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public 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])?$";
Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
public String description()
The description of the application.
Minimum length=1. Maximum length=256
Minimum length=1. Maximum length=256
public String homePageUrl()
A URL with more information about the application, for example the location of your GitHub repository for the application.
public List<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+\\-_:\\/@]+$";
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Minimum length=1. Maximum length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
public 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.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
public 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.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
public String name()
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 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.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
public 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.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
public String semanticVersion()
The semantic version of the application:
public String sourceCodeUrl()
A link to a public repository for the source code of your application.
public String spdxLicenseId()
A valid identifier from https://spdx.org/licenses/.
public 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.
You can specify only one of templateBody and templateUrl; otherwise an error results.
public 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.
You can specify only one of templateBody and templateUrl; otherwise an error results.
public CreateApplicationRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>
toBuilder
in class ServerlessApplicationRepositoryRequest
public static CreateApplicationRequest.Builder builder()
public static Class<? extends CreateApplicationRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.