Class CreateApplicationRequest

    • Method Detail

      • author

        public final 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])?$";

        Returns:
        The name of the author publishing the app.

        Minimum length=1. Maximum length=127.

        Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

      • description

        public final String description()

        The description of the application.

        Minimum length=1. Maximum length=256

        Returns:
        The description of the application.

        Minimum length=1. Maximum length=256

      • homePageUrl

        public final String homePageUrl()

        A URL with more information about the application, for example the location of your GitHub repository for the application.

        Returns:
        A URL with more information about the application, for example the location of your GitHub repository for the application.
      • hasLabels

        public final boolean hasLabels()
        For responses, this returns true if the service returned a value for the Labels property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • labels

        public final List<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+\\-_:\\/@]+$";

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasLabels() method.

        Returns:
        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+\\-_:\\/@]+$";

      • licenseBody

        public final 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.

        Returns:
        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.

      • licenseUrl

        public final 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.

        Returns:
        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.

      • name

        public final String name()

        The name of the application that you want to publish.

        Minimum length=1. Maximum length=140

        Pattern: "[a-zA-Z0-9\\-]+";

        Returns:
        The name of the application that you want to publish.

        Minimum length=1. Maximum length=140

        Pattern: "[a-zA-Z0-9\\-]+";

      • readmeBody

        public final 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.

        Returns:
        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.

      • readmeUrl

        public final 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.

        Returns:
        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.

      • sourceCodeArchiveUrl

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

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

      • sourceCodeUrl

        public final String sourceCodeUrl()

        A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

        Returns:
        A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.
      • templateBody

        public final 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.

        Returns:
        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.

      • templateUrl

        public final 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.

        Returns:
        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.

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object