Class ChangeSetHook

    • Method Detail

      • invocationPointAsString

        public final String invocationPointAsString()

        The specific point in the provisioning process where the Hook is invoked.

        If the service returns an enum value that is not available in the current SDK version, invocationPoint will return HookInvocationPoint.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from invocationPointAsString().

        Returns:
        The specific point in the provisioning process where the Hook is invoked.
        See Also:
        HookInvocationPoint
      • failureMode

        public final HookFailureMode failureMode()

        Specify the Hook failure mode for non-compliant resources in the followings ways.

        • FAIL Stops provisioning resources.

        • WARN Allows provisioning to continue with a warning message.

        If the service returns an enum value that is not available in the current SDK version, failureMode will return HookFailureMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from failureModeAsString().

        Returns:
        Specify the Hook failure mode for non-compliant resources in the followings ways.

        • FAIL Stops provisioning resources.

        • WARN Allows provisioning to continue with a warning message.

        See Also:
        HookFailureMode
      • failureModeAsString

        public final String failureModeAsString()

        Specify the Hook failure mode for non-compliant resources in the followings ways.

        • FAIL Stops provisioning resources.

        • WARN Allows provisioning to continue with a warning message.

        If the service returns an enum value that is not available in the current SDK version, failureMode will return HookFailureMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from failureModeAsString().

        Returns:
        Specify the Hook failure mode for non-compliant resources in the followings ways.

        • FAIL Stops provisioning resources.

        • WARN Allows provisioning to continue with a warning message.

        See Also:
        HookFailureMode
      • typeName

        public final String typeName()

        The unique name for your Hook. Specifies a three-part namespace for your Hook, with a recommended pattern of Organization::Service::Hook.

        The following organization namespaces are reserved and can't be used in your Hook type names:

        • Alexa

        • AMZN

        • Amazon

        • ASK

        • AWS

        • Custom

        • Dev

        Returns:
        The unique name for your Hook. Specifies a three-part namespace for your Hook, with a recommended pattern of Organization::Service::Hook.

        The following organization namespaces are reserved and can't be used in your Hook type names:

        • Alexa

        • AMZN

        • Amazon

        • ASK

        • AWS

        • Custom

        • Dev

      • typeVersionId

        public final String typeVersionId()

        The version ID of the type specified.

        Returns:
        The version ID of the type specified.
      • typeConfigurationVersionId

        public final String typeConfigurationVersionId()

        The version ID of the type configuration.

        Returns:
        The version ID of the type configuration.
      • targetDetails

        public final ChangeSetHookTargetDetails targetDetails()

        Specifies details about the target that the Hook will run against.

        Returns:
        Specifies details about the target that the Hook will run against.
      • 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)