Interface CreateApplicationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>,SdkBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>,SdkPojo,SdkRequest.Builder,ServerlessApplicationRepositoryRequest.Builder
- Enclosing class:
- CreateApplicationRequest
public static interface CreateApplicationRequest.Builder extends ServerlessApplicationRepositoryRequest.Builder, SdkPojo, CopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateApplicationRequest.Builderauthor(String author)The name of the author publishing the app.CreateApplicationRequest.Builderdescription(String description)The description of the application.CreateApplicationRequest.BuilderhomePageUrl(String homePageUrl)A URL with more information about the application, for example the location of your GitHub repository for the application.CreateApplicationRequest.Builderlabels(String... labels)Labels to improve discovery of apps in search results.CreateApplicationRequest.Builderlabels(Collection<String> labels)Labels to improve discovery of apps in search results.CreateApplicationRequest.BuilderlicenseBody(String licenseBody)A local text file that contains the license of the app that matches the spdxLicenseID value of your application.CreateApplicationRequest.BuilderlicenseUrl(String licenseUrl)A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your application.CreateApplicationRequest.Buildername(String name)The name of the application that you want to publish.CreateApplicationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateApplicationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateApplicationRequest.BuilderreadmeBody(String readmeBody)A local text readme file in Markdown language that contains a more detailed description of the application and how it works.CreateApplicationRequest.BuilderreadmeUrl(String readmeUrl)A link to the S3 object in Markdown language that contains a more detailed description of the application and how it works.CreateApplicationRequest.BuildersemanticVersion(String semanticVersion)The semantic version of the application:CreateApplicationRequest.BuildersourceCodeArchiveUrl(String sourceCodeArchiveUrl)A link to the S3 object that contains the ZIP archive of the source code for this version of your application.CreateApplicationRequest.BuildersourceCodeUrl(String sourceCodeUrl)A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.CreateApplicationRequest.BuilderspdxLicenseId(String spdxLicenseId)A valid identifier from https://spdx.org/licenses/.CreateApplicationRequest.BuildertemplateBody(String templateBody)The local raw packaged AWS SAM template file of your application.CreateApplicationRequest.BuildertemplateUrl(String templateUrl)A link to the S3 object containing the packaged AWS SAM template of your application.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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.services.serverlessapplicationrepository.model.ServerlessApplicationRepositoryRequest.Builder
build
-
-
-
-
Method Detail
-
author
CreateApplicationRequest.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.
-
description
CreateApplicationRequest.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
CreateApplicationRequest.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.
-
labels
CreateApplicationRequest.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
CreateApplicationRequest.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.
-
licenseBody
CreateApplicationRequest.Builder licenseBody(String licenseBody)
A local text file that contains the license of the app that matches the spdxLicenseID value of your application. The file has the format file://<path>/<filename>.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
- Parameters:
licenseBody- A local text file that contains the license of the app that matches the spdxLicenseID value of your application. The file has the format file://<path>/<filename>.Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseUrl
CreateApplicationRequest.Builder licenseUrl(String licenseUrl)
A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your application.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
- Parameters:
licenseUrl- A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your application.Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateApplicationRequest.Builder name(String name)
The name of the application that you want to publish.
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
- Parameters:
name- The name of the application that you want to publish.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.
-
readmeBody
CreateApplicationRequest.Builder readmeBody(String readmeBody)
A local text readme file in Markdown language that contains a more detailed description of the application and how it works. The file has the format file://<path>/<filename>.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
- Parameters:
readmeBody- A local text readme file in Markdown language that contains a more detailed description of the application and how it works. The file has the format file://<path>/<filename>.Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readmeUrl
CreateApplicationRequest.Builder readmeUrl(String readmeUrl)
A link to the S3 object in Markdown language that contains a more detailed description of the application and how it works.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
- Parameters:
readmeUrl- A link to the S3 object in Markdown language that contains a more detailed description of the application and how it works.Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
semanticVersion
CreateApplicationRequest.Builder semanticVersion(String semanticVersion)
The semantic version of the application:
- Parameters:
semanticVersion- The semantic version of the application:- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCodeArchiveUrl
CreateApplicationRequest.Builder sourceCodeArchiveUrl(String sourceCodeArchiveUrl)
A link to the S3 object that contains the ZIP archive of the source code for this version of your application.
Maximum size 50 MB
- Parameters:
sourceCodeArchiveUrl- A link to the S3 object that contains the ZIP archive of the source code for this version of your application.Maximum size 50 MB
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCodeUrl
CreateApplicationRequest.Builder sourceCodeUrl(String sourceCodeUrl)
A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.
- Parameters:
sourceCodeUrl- A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spdxLicenseId
CreateApplicationRequest.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.
-
templateBody
CreateApplicationRequest.Builder templateBody(String templateBody)
The local raw packaged AWS SAM template file of your application. The file has the format file://<path>/<filename>.
You can specify only one of templateBody and templateUrl; otherwise an error results.
- Parameters:
templateBody- The local raw packaged AWS SAM template file of your application. The file has the format file://<path>/<filename>.You can specify only one of templateBody and templateUrl; otherwise an error results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateUrl
CreateApplicationRequest.Builder templateUrl(String templateUrl)
A link to the S3 object containing the packaged AWS SAM template of your application.
You can specify only one of templateBody and templateUrl; otherwise an error results.
- Parameters:
templateUrl- A link to the S3 object containing the packaged AWS SAM template of your application.You can specify only one of templateBody and templateUrl; otherwise an error results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-