public static interface CreateApplicationRequest.Builder extends ServerlessApplicationRepositoryRequest.Builder, CopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>
Modifier and Type | Method and Description |
---|---|
CreateApplicationRequest.Builder |
author(String author)
The name of the author publishing the app.\nMin Length=1.
|
CreateApplicationRequest.Builder |
description(String description)
The description of the application.\nMin Length=1.
|
CreateApplicationRequest.Builder |
labels(Collection<String> labels)
Labels to improve discovery of apps in search results.\nMin Length=1.
|
CreateApplicationRequest.Builder |
labels(String... labels)
Labels to improve discovery of apps in search results.\nMin Length=1.
|
CreateApplicationRequest.Builder |
licenseBody(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.Builder |
licenseUrl(String licenseUrl)
A link to a license file of the app that matches the spdxLicenseID of your application.\nMax size 5 MB
|
CreateApplicationRequest.Builder |
name(String name)
The name of the application you want to publish.\nMin Length=1.
|
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 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.Builder |
readmeUrl(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.Builder |
semanticVersion(String semanticVersion)
The semantic version of the application:\n\n https://semver.org/
|
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 raw packaged SAM template of your application.
|
CreateApplicationRequest.Builder |
templateUrl(String templateUrl)
A link to the packaged SAM template of your application.
|
build
overrideConfiguration
copy
applyMutation, build
CreateApplicationRequest.Builder author(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])?$";CreateApplicationRequest.Builder description(String description)
description
- The description of the application.\nMin Length=1. Max Length=256CreateApplicationRequest.Builder labels(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+\\-_:\\/@]+$";CreateApplicationRequest.Builder labels(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+\\-_:\\/@]+$";CreateApplicationRequest.Builder licenseBody(String licenseBody)
licenseBody
- A raw text file that contains the license of the app that matches the spdxLicenseID of your
application.\nMax size 5 MBCreateApplicationRequest.Builder licenseUrl(String licenseUrl)
licenseUrl
- A link to a license file of the app that matches the spdxLicenseID of your application.\nMax size 5 MBCreateApplicationRequest.Builder name(String name)
name
- The name of the application you want to publish.\nMin Length=1. Max Length=140\nPattern:
"[a-zA-Z0-9\\-]+";CreateApplicationRequest.Builder readmeBody(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 MBCreateApplicationRequest.Builder readmeUrl(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 MBCreateApplicationRequest.Builder semanticVersion(String semanticVersion)
semanticVersion
- The semantic version of the application:\n\n https://semver.org/CreateApplicationRequest.Builder sourceCodeUrl(String sourceCodeUrl)
sourceCodeUrl
- A link to a public repository for the source code of your application.CreateApplicationRequest.Builder spdxLicenseId(String spdxLicenseId)
spdxLicenseId
- A valid identifier from https://spdx.org/licenses/ .CreateApplicationRequest.Builder templateBody(String templateBody)
templateBody
- The raw packaged SAM template of your application.CreateApplicationRequest.Builder templateUrl(String templateUrl)
templateUrl
- A link to the packaged SAM template of your application.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.