Class CreateHostedConfigurationVersionRequest

    • Method Detail

      • applicationId

        public final String applicationId()

        The application ID.

        Returns:
        The application ID.
      • configurationProfileId

        public final String configurationProfileId()

        The configuration profile ID.

        Returns:
        The configuration profile ID.
      • description

        public final String description()

        A description of the configuration.

        Returns:
        A description of the configuration.
      • content

        public final SdkBytes content()

        The configuration data, as bytes.

        AppConfig accepts any type of data, including text formats like JSON or TOML, or binary formats like protocol buffers or compressed data.

        Returns:
        The configuration data, as bytes.

        AppConfig accepts any type of data, including text formats like JSON or TOML, or binary formats like protocol buffers or compressed data.

      • contentType

        public final String contentType()

        A standard MIME type describing the format of the configuration content. For more information, see Content-Type.

        Returns:
        A standard MIME type describing the format of the configuration content. For more information, see Content-Type.
      • latestVersionNumber

        public final Integer latestVersionNumber()

        An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.

        Returns:
        An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.
      • versionLabel

        public final String versionLabel()

        An optional, user-defined label for the AppConfig hosted configuration version. This value must contain at least one non-numeric character. For example, "v2.2.0".

        Returns:
        An optional, user-defined label for the AppConfig hosted configuration version. This value must contain at least one non-numeric character. For example, "v2.2.0".
      • 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