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 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

      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

      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

      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

      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

      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:

      https://semver.org/

      Parameters:
      semanticVersion - The semantic version of the application:

      https://semver.org/

      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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.