Interface CreateApplicationRequest.Builder

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