Interface CreateApplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateApplicationRequest.Builder,
,CreateApplicationRequest> SdkBuilder<CreateApplicationRequest.Builder,
,CreateApplicationRequest> SdkPojo
,SdkRequest.Builder
,ServerlessApplicationRepositoryRequest.Builder
- Enclosing class:
CreateApplicationRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the author publishing the app.description
(String description) The description of the application.homePageUrl
(String homePageUrl) A URL with more information about the application, for example the location of your GitHub repository for the application.Labels to improve discovery of apps in search results.labels
(Collection<String> labels) Labels to improve discovery of apps in search results.licenseBody
(String licenseBody) A local text file that contains the license of the app that matches the spdxLicenseID value of your application.licenseUrl
(String licenseUrl) A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your application.The name of the application that you want to publish.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.readmeBody
(String readmeBody) A local text readme file in Markdown language that contains a more detailed description of the application and how it works.A link to the S3 object in Markdown language that contains a more detailed description of the application and how it works.semanticVersion
(String semanticVersion) The semantic version of the application:sourceCodeArchiveUrl
(String sourceCodeArchiveUrl) A link to the S3 object that contains the ZIP archive of the source code for this version of your application.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.spdxLicenseId
(String spdxLicenseId) A valid identifier from https://spdx.org/licenses/.templateBody
(String templateBody) The local raw packaged AWS SAM template file of your application.templateUrl
(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 Details
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-