Interface CreateApplicationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateApplicationResponse.Builder,CreateApplicationResponse>,SdkBuilder<CreateApplicationResponse.Builder,CreateApplicationResponse>,SdkPojo,SdkResponse.Builder,ServerlessApplicationRepositoryResponse.Builder
- Enclosing class:
- CreateApplicationResponse
public static interface CreateApplicationResponse.Builder extends ServerlessApplicationRepositoryResponse.Builder, SdkPojo, CopyableBuilder<CreateApplicationResponse.Builder,CreateApplicationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateApplicationResponse.BuilderapplicationId(String applicationId)The application Amazon Resource Name (ARN).CreateApplicationResponse.Builderauthor(String author)The name of the author publishing the app.CreateApplicationResponse.BuildercreationTime(String creationTime)The date and time this resource was created.CreateApplicationResponse.Builderdescription(String description)The description of the application.CreateApplicationResponse.BuilderhomePageUrl(String homePageUrl)A URL with more information about the application, for example the location of your GitHub repository for the application.CreateApplicationResponse.BuilderisVerifiedAuthor(Boolean isVerifiedAuthor)Whether the author of this application has been verified.CreateApplicationResponse.Builderlabels(String... labels)Labels to improve discovery of apps in search results.CreateApplicationResponse.Builderlabels(Collection<String> labels)Labels to improve discovery of apps in search results.CreateApplicationResponse.BuilderlicenseUrl(String licenseUrl)A link to a license file of the app that matches the spdxLicenseID value of your application.CreateApplicationResponse.Buildername(String name)The name of the application.CreateApplicationResponse.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.CreateApplicationResponse.BuilderspdxLicenseId(String spdxLicenseId)A valid identifier from https://spdx.org/licenses/.CreateApplicationResponse.BuilderverifiedAuthorUrl(String verifiedAuthorUrl)The URL to the public profile of a verified author.default CreateApplicationResponse.Builderversion(Consumer<Version.Builder> version)Version information about the application.CreateApplicationResponse.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
CreateApplicationResponse.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
CreateApplicationResponse.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
CreateApplicationResponse.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
CreateApplicationResponse.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
CreateApplicationResponse.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
CreateApplicationResponse.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
CreateApplicationResponse.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
CreateApplicationResponse.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
CreateApplicationResponse.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
CreateApplicationResponse.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
CreateApplicationResponse.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
CreateApplicationResponse.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
CreateApplicationResponse.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
CreateApplicationResponse.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 CreateApplicationResponse.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)
-
-