Class AwsApiGatewayStageDetails

    • Method Detail

      • deploymentId

        public final String deploymentId()

        The identifier of the deployment that the stage points to.

        Returns:
        The identifier of the deployment that the stage points to.
      • clientCertificateId

        public final String clientCertificateId()

        The identifier of the client certificate for the stage.

        Returns:
        The identifier of the client certificate for the stage.
      • stageName

        public final String stageName()

        The name of the stage.

        Returns:
        The name of the stage.
      • description

        public final String description()

        A description of the stage.

        Returns:
        A description of the stage.
      • cacheClusterEnabled

        public final Boolean cacheClusterEnabled()

        Indicates whether a cache cluster is enabled for the stage.

        Returns:
        Indicates whether a cache cluster is enabled for the stage.
      • cacheClusterSize

        public final String cacheClusterSize()

        If a cache cluster is enabled, the size of the cache cluster.

        Returns:
        If a cache cluster is enabled, the size of the cache cluster.
      • cacheClusterStatus

        public final String cacheClusterStatus()

        If a cache cluster is enabled, the status of the cache cluster.

        Returns:
        If a cache cluster is enabled, the status of the cache cluster.
      • hasMethodSettings

        public final boolean hasMethodSettings()
        For responses, this returns true if the service returned a value for the MethodSettings 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.
      • methodSettings

        public final List<AwsApiGatewayMethodSettings> methodSettings()

        Defines the method settings for the stage.

        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 hasMethodSettings() method.

        Returns:
        Defines the method settings for the stage.
      • hasVariables

        public final boolean hasVariables()
        For responses, this returns true if the service returned a value for the Variables 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.
      • variables

        public final Map<String,​String> variables()

        A map that defines the stage variables for the stage.

        Variable names can have alphanumeric and underscore characters.

        Variable values can contain the following characters:

        • Uppercase and lowercase letters

        • Numbers

        • Special characters -._~:/?#&=,

        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 hasVariables() method.

        Returns:
        A map that defines the stage variables for the stage.

        Variable names can have alphanumeric and underscore characters.

        Variable values can contain the following characters:

        • Uppercase and lowercase letters

        • Numbers

        • Special characters -._~:/?#&=,

      • documentationVersion

        public final String documentationVersion()

        The version of the API documentation that is associated with the stage.

        Returns:
        The version of the API documentation that is associated with the stage.
      • accessLogSettings

        public final AwsApiGatewayAccessLogSettings accessLogSettings()

        Settings for logging access for the stage.

        Returns:
        Settings for logging access for the stage.
      • canarySettings

        public final AwsApiGatewayCanarySettings canarySettings()

        Information about settings for canary deployment in the stage.

        Returns:
        Information about settings for canary deployment in the stage.
      • tracingEnabled

        public final Boolean tracingEnabled()

        Indicates whether active tracing with X-Ray is enabled for the stage.

        Returns:
        Indicates whether active tracing with X-Ray is enabled for the stage.
      • createdDate

        public final String createdDate()

        Indicates when the stage was created.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Returns:
        Indicates when the stage was created.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

      • lastUpdatedDate

        public final String lastUpdatedDate()

        Indicates when the stage was most recently updated.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Returns:
        Indicates when the stage was most recently updated.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

      • webAclArn

        public final String webAclArn()

        The ARN of the web ACL associated with the stage.

        Returns:
        The ARN of the web ACL associated with the stage.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)