Interface GetApplicationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetApplicationResponse.Builder,GetApplicationResponse>,SdkBuilder<GetApplicationResponse.Builder,GetApplicationResponse>,SdkPojo,SdkResponse.Builder,ServerlessApplicationRepositoryResponse.Builder
- Enclosing class:
- GetApplicationResponse
public static interface GetApplicationResponse.Builder extends ServerlessApplicationRepositoryResponse.Builder, SdkPojo, CopyableBuilder<GetApplicationResponse.Builder,GetApplicationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetApplicationResponse.BuilderapplicationId(String applicationId)The application Amazon Resource Name (ARN).GetApplicationResponse.Builderauthor(String author)The name of the author publishing the app.GetApplicationResponse.BuildercreationTime(String creationTime)The date and time this resource was created.GetApplicationResponse.Builderdescription(String description)The description of the application.GetApplicationResponse.BuilderhomePageUrl(String homePageUrl)A URL with more information about the application, for example the location of your GitHub repository for the application.GetApplicationResponse.BuilderisVerifiedAuthor(Boolean isVerifiedAuthor)Whether the author of this application has been verified.GetApplicationResponse.Builderlabels(String... labels)Labels to improve discovery of apps in search results.GetApplicationResponse.Builderlabels(Collection<String> labels)Labels to improve discovery of apps in search results.GetApplicationResponse.BuilderlicenseUrl(String licenseUrl)A link to a license file of the app that matches the spdxLicenseID value of your application.GetApplicationResponse.Buildername(String name)The name of the application.GetApplicationResponse.BuilderreadmeUrl(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.BuilderspdxLicenseId(String spdxLicenseId)A valid identifier from https://spdx.org/licenses/.GetApplicationResponse.BuilderverifiedAuthorUrl(String verifiedAuthorUrl)The URL to the public profile of a verified author.default GetApplicationResponse.Builderversion(Consumer<Version.Builder> version)Version information about the application.GetApplicationResponse.Builderversion(Version version)Version information about the application.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.serverlessapplicationrepository.model.ServerlessApplicationRepositoryResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
applicationId
GetApplicationResponse.Builder applicationId(String applicationId)
The application Amazon Resource Name (ARN).
- Parameters:
applicationId- The application Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
author
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])?$";
- Parameters:
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])?$";
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
GetApplicationResponse.Builder creationTime(String creationTime)
The date and time this resource was created.
- Parameters:
creationTime- The date and time this resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetApplicationResponse.Builder description(String description)
The description of the application.
Minimum length=1. Maximum length=256
- Parameters:
description- The description of the application.Minimum length=1. Maximum length=256
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
homePageUrl
GetApplicationResponse.Builder homePageUrl(String homePageUrl)
A URL with more information about the application, for example the location of your GitHub repository for the application.
- Parameters:
homePageUrl- A URL with more information about the application, for example the location of your GitHub repository for the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isVerifiedAuthor
GetApplicationResponse.Builder isVerifiedAuthor(Boolean isVerifiedAuthor)
Whether the author of this application has been verified. This means means that AWS has made a good faith review, as a reasonable and prudent service provider, of the information provided by the requester and has confirmed that the requester's identity is as claimed.
- Parameters:
isVerifiedAuthor- Whether the author of this application has been verified. This means means that AWS has made a good faith review, as a reasonable and prudent service provider, of the information provided by the requester and has confirmed that the requester's identity is as claimed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labels
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+\\-_:\\/@]+$";
- Parameters:
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+\\-_:\\/@]+$";
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labels
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+\\-_:\\/@]+$";
- Parameters:
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+\\-_:\\/@]+$";
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseUrl
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
- Parameters:
licenseUrl- A link to a license file of the app that matches the spdxLicenseID value of your application.Maximum size 5 MB
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetApplicationResponse.Builder name(String name)
The name of the application.
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
- Parameters:
name- The name of the application.Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readmeUrl
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spdxLicenseId
GetApplicationResponse.Builder spdxLicenseId(String spdxLicenseId)
A valid identifier from https://spdx.org/licenses/.
- Parameters:
spdxLicenseId- A valid identifier from https://spdx.org/licenses/.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verifiedAuthorUrl
GetApplicationResponse.Builder verifiedAuthorUrl(String verifiedAuthorUrl)
The URL to the public profile of a verified author. This URL is submitted by the author.
- Parameters:
verifiedAuthorUrl- The URL to the public profile of a verified author. This URL is submitted by the author.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
GetApplicationResponse.Builder version(Version version)
Version information about the application.
- Parameters:
version- Version information about the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
default GetApplicationResponse.Builder version(Consumer<Version.Builder> version)
Version information about the application.
This is a convenience method that creates an instance of theVersion.Builderavoiding the need to create one manually viaVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toversion(Version).- Parameters:
version- a consumer that will call methods onVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
version(Version)
-
-