public static interface CreateApplicationRequest.Builder extends ServerlessApplicationRepositoryRequest.Builder, SdkPojo, CopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>
Modifier and Type | Method and Description |
---|---|
CreateApplicationRequest.Builder |
author(String author)
The name of the author publishing the app.
|
CreateApplicationRequest.Builder |
description(String description)
The description of the application.
|
CreateApplicationRequest.Builder |
homePageUrl(String homePageUrl)
A URL with more information about the application, for example the location of your GitHub repository for the
application.
|
CreateApplicationRequest.Builder |
labels(Collection<String> labels)
Labels to improve discovery of apps in search results.
|
CreateApplicationRequest.Builder |
labels(String... labels)
Labels to improve discovery of apps in search results.
|
CreateApplicationRequest.Builder |
licenseBody(String licenseBody)
A local text file that contains the license of the app that matches the spdxLicenseID value of your
application.
|
CreateApplicationRequest.Builder |
licenseUrl(String licenseUrl)
A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your
application.
|
CreateApplicationRequest.Builder |
name(String name)
The name of the application that you want to publish.
|
CreateApplicationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateApplicationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateApplicationRequest.Builder |
readmeBody(String readmeBody)
A local text readme file in Markdown language that contains a more detailed description of the application
and how it works.
|
CreateApplicationRequest.Builder |
readmeUrl(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.Builder |
semanticVersion(String semanticVersion)
The semantic version of the application:
|
CreateApplicationRequest.Builder |
sourceCodeUrl(String sourceCodeUrl)
A link to a public repository for the source code of your application.
|
CreateApplicationRequest.Builder |
spdxLicenseId(String spdxLicenseId)
A valid identifier from https://spdx.org/licenses/.
|
CreateApplicationRequest.Builder |
templateBody(String templateBody)
The local raw packaged AWS SAM template file of your application.
|
CreateApplicationRequest.Builder |
templateUrl(String templateUrl)
A link to the S3 object containing the packaged AWS SAM template of your application.
|
build
overrideConfiguration
copy
applyMutation, build
CreateApplicationRequest.Builder author(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])?$";
CreateApplicationRequest.Builder description(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
CreateApplicationRequest.Builder homePageUrl(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.CreateApplicationRequest.Builder labels(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+\\-_:\\/@]+$";
CreateApplicationRequest.Builder labels(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+\\-_:\\/@]+$";
CreateApplicationRequest.Builder licenseBody(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.
CreateApplicationRequest.Builder licenseUrl(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.
CreateApplicationRequest.Builder name(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\\-]+";
CreateApplicationRequest.Builder readmeBody(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.
CreateApplicationRequest.Builder readmeUrl(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.
CreateApplicationRequest.Builder semanticVersion(String semanticVersion)
The semantic version of the application:
semanticVersion
- The semantic version of the application:
CreateApplicationRequest.Builder sourceCodeUrl(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.CreateApplicationRequest.Builder spdxLicenseId(String spdxLicenseId)
A valid identifier from https://spdx.org/licenses/.
spdxLicenseId
- A valid identifier from https://spdx.org/licenses/.CreateApplicationRequest.Builder templateBody(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.
CreateApplicationRequest.Builder templateUrl(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.
CreateApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.