Class ChangeSetHook
- java.lang.Object
-
- software.amazon.awssdk.services.cloudformation.model.ChangeSetHook
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ChangeSetHook.Builder,ChangeSetHook>
@Generated("software.amazon.awssdk:codegen") public final class ChangeSetHook extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChangeSetHook.Builder,ChangeSetHook>
Specifies the resource, the hook, and the hook version to be invoked.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceChangeSetHook.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChangeSetHook.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)HookFailureModefailureMode()Specify the hook failure mode for non-compliant resources in the followings ways.StringfailureModeAsString()Specify the hook failure mode for non-compliant resources in the followings ways.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()HookInvocationPointinvocationPoint()Specifies the points in provisioning logic where a hook is invoked.StringinvocationPointAsString()Specifies the points in provisioning logic where a hook is invoked.List<SdkField<?>>sdkFields()static Class<? extends ChangeSetHook.Builder>serializableBuilderClass()ChangeSetHookTargetDetailstargetDetails()Specifies details about the target that the hook will run against.ChangeSetHook.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtypeConfigurationVersionId()The version ID of the type configuration.StringtypeName()The unique name for your hook.StringtypeVersionId()The version ID of the type specified.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
invocationPoint
public final HookInvocationPoint invocationPoint()
Specifies the points in provisioning logic where a hook is invoked.
If the service returns an enum value that is not available in the current SDK version,
invocationPointwill returnHookInvocationPoint.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominvocationPointAsString().- Returns:
- Specifies the points in provisioning logic where a hook is invoked.
- See Also:
HookInvocationPoint
-
invocationPointAsString
public final String invocationPointAsString()
Specifies the points in provisioning logic where a hook is invoked.
If the service returns an enum value that is not available in the current SDK version,
invocationPointwill returnHookInvocationPoint.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominvocationPointAsString().- Returns:
- Specifies the points in provisioning logic where a hook is invoked.
- See Also:
HookInvocationPoint
-
failureMode
public final HookFailureMode failureMode()
Specify the hook failure mode for non-compliant resources in the followings ways.
-
FAILStops provisioning resources. -
WARNAllows provisioning to continue with a warning message.
If the service returns an enum value that is not available in the current SDK version,
failureModewill returnHookFailureMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureModeAsString().- Returns:
- Specify the hook failure mode for non-compliant resources in the followings ways.
-
FAILStops provisioning resources. -
WARNAllows 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.
-
FAILStops provisioning resources. -
WARNAllows provisioning to continue with a warning message.
If the service returns an enum value that is not available in the current SDK version,
failureModewill returnHookFailureMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureModeAsString().- Returns:
- Specify the hook failure mode for non-compliant resources in the followings ways.
-
FAILStops provisioning resources. -
WARNAllows 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.
-
toBuilder
public ChangeSetHook.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ChangeSetHook.Builder,ChangeSetHook>
-
builder
public static ChangeSetHook.Builder builder()
-
serializableBuilderClass
public static Class<? extends ChangeSetHook.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-