public static interface CreateApplicationResponse.Builder extends ServerlessApplicationRepositoryResponse.Builder, CopyableBuilder<CreateApplicationResponse.Builder,CreateApplicationResponse>
Modifier and Type | Method and Description |
---|---|
CreateApplicationResponse.Builder |
applicationId(String applicationId)
The application Amazon Resource Name (ARN).
|
CreateApplicationResponse.Builder |
author(String author)
The name of the author publishing the app.\nMin Length=1.
|
CreateApplicationResponse.Builder |
creationTime(String creationTime)
The date/time this resource was created.
|
CreateApplicationResponse.Builder |
description(String description)
The description of the application.\nMin Length=1.
|
CreateApplicationResponse.Builder |
labels(Collection<String> labels)
Labels to improve discovery of apps in search results.\nMin Length=1.
|
CreateApplicationResponse.Builder |
labels(String... labels)
Labels to improve discovery of apps in search results.\nMin Length=1.
|
CreateApplicationResponse.Builder |
licenseUrl(String licenseUrl)
A link to a license file of the app that matches the spdxLicenseID of your application.\nMax size 5 MB
|
CreateApplicationResponse.Builder |
name(String name)
The name of the application.\nMin Length=1.
|
CreateApplicationResponse.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
|
CreateApplicationResponse.Builder |
spdxLicenseId(String spdxLicenseId)
A valid identifier from https://spdx.org/licenses/.
|
default CreateApplicationResponse.Builder |
version(Consumer<Version.Builder> version)
Version information about the application.
|
CreateApplicationResponse.Builder |
version(Version version)
Version information about the application.
|
build
copy
apply, build
CreateApplicationResponse.Builder applicationId(String applicationId)
applicationId
- The application Amazon Resource Name (ARN).CreateApplicationResponse.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])?$";CreateApplicationResponse.Builder creationTime(String creationTime)
creationTime
- The date/time this resource was created.CreateApplicationResponse.Builder description(String description)
description
- The description of the application.\nMin Length=1. Max Length=256CreateApplicationResponse.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+\\-_:\\/@]+$";CreateApplicationResponse.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+\\-_:\\/@]+$";CreateApplicationResponse.Builder licenseUrl(String licenseUrl)
licenseUrl
- A link to a license file of the app that matches the spdxLicenseID of your application.\nMax size 5 MBCreateApplicationResponse.Builder name(String name)
name
- The name of the application.\nMin Length=1. Max Length=140\nPattern: "[a-zA-Z0-9\\-]+";CreateApplicationResponse.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 MBCreateApplicationResponse.Builder spdxLicenseId(String spdxLicenseId)
spdxLicenseId
- A valid identifier from https://spdx.org/licenses/.CreateApplicationResponse.Builder version(Version version)
version
- Version information about the application.default CreateApplicationResponse.Builder version(Consumer<Version.Builder> version)
Version.Builder
avoiding the need to create one manually via Version.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to version(Version)
.version
- a consumer that will call methods on Version.Builder
version(Version)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.