public static interface GetApplicationResponse.Builder extends ServerlessApplicationRepositoryResponse.Builder, SdkPojo, CopyableBuilder<GetApplicationResponse.Builder,GetApplicationResponse>
Modifier and Type | Method and Description |
---|---|
GetApplicationResponse.Builder |
applicationId(String applicationId)
The application Amazon Resource Name (ARN).
|
GetApplicationResponse.Builder |
author(String author)
The name of the author publishing the app.
|
GetApplicationResponse.Builder |
creationTime(String creationTime)
The date and time this resource was created.
|
GetApplicationResponse.Builder |
description(String description)
The description of the application.
|
GetApplicationResponse.Builder |
homePageUrl(String homePageUrl)
A URL with more information about the application, for example the location of your GitHub repository for the
application.
|
GetApplicationResponse.Builder |
labels(Collection<String> labels)
Labels to improve discovery of apps in search results.
|
GetApplicationResponse.Builder |
labels(String... labels)
Labels to improve discovery of apps in search results.
|
GetApplicationResponse.Builder |
licenseUrl(String licenseUrl)
A link to a license file of the app that matches the spdxLicenseID value of your application.
|
GetApplicationResponse.Builder |
name(String name)
The name of the application.
|
GetApplicationResponse.Builder |
readmeUrl(String readmeUrl)
A link to the readme file in Markdown language that contains a more detailed description of the application
and how it works.
|
GetApplicationResponse.Builder |
spdxLicenseId(String spdxLicenseId)
A valid identifier from https://spdx.org/licenses/.
|
default GetApplicationResponse.Builder |
version(Consumer<Version.Builder> version)
Version information about the application.
|
GetApplicationResponse.Builder |
version(Version version)
Version information about the application.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetApplicationResponse.Builder applicationId(String applicationId)
The application Amazon Resource Name (ARN).
applicationId
- The application Amazon Resource Name (ARN).GetApplicationResponse.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])?$";
GetApplicationResponse.Builder creationTime(String creationTime)
The date and time this resource was created.
creationTime
- The date and time this resource was created.GetApplicationResponse.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
GetApplicationResponse.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.GetApplicationResponse.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+\\-_:\\/@]+$";
GetApplicationResponse.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+\\-_:\\/@]+$";
GetApplicationResponse.Builder licenseUrl(String licenseUrl)
A link to a license file of the app that matches the spdxLicenseID value of your application.
Maximum size 5 MB
licenseUrl
- A link to a license file of the app that matches the spdxLicenseID value of your application.
Maximum size 5 MB
GetApplicationResponse.Builder name(String name)
The name of the application.
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
name
- The name of the application.
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
GetApplicationResponse.Builder readmeUrl(String readmeUrl)
A link to the readme file in Markdown language that contains a more detailed description of the application and how it works.
Maximum size 5 MB
readmeUrl
- A link to the readme file in Markdown language that contains a more detailed description of the
application and how it works.
Maximum size 5 MB
GetApplicationResponse.Builder spdxLicenseId(String spdxLicenseId)
A valid identifier from https://spdx.org/licenses/.
spdxLicenseId
- A valid identifier from https://spdx.org/licenses/.GetApplicationResponse.Builder version(Version version)
Version information about the application.
version
- Version information about the application.default GetApplicationResponse.Builder version(Consumer<Version.Builder> version)
Version information about the application.
This is a convenience that creates an instance of theVersion.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.