Interface ChangeSetHook.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ChangeSetHook.Builder,
,ChangeSetHook> SdkBuilder<ChangeSetHook.Builder,
,ChangeSetHook> SdkPojo
- Enclosing class:
ChangeSetHook
-
Method Summary
Modifier and TypeMethodDescriptionfailureMode
(String failureMode) Specify the hook failure mode for non-compliant resources in the followings ways.failureMode
(HookFailureMode failureMode) Specify the hook failure mode for non-compliant resources in the followings ways.invocationPoint
(String invocationPoint) Specifies the points in provisioning logic where a hook is invoked.invocationPoint
(HookInvocationPoint invocationPoint) Specifies the points in provisioning logic where a hook is invoked.default ChangeSetHook.Builder
targetDetails
(Consumer<ChangeSetHookTargetDetails.Builder> targetDetails) Specifies details about the target that the hook will run against.targetDetails
(ChangeSetHookTargetDetails targetDetails) Specifies details about the target that the hook will run against.typeConfigurationVersionId
(String typeConfigurationVersionId) The version ID of the type configuration.The unique name for your hook.typeVersionId
(String typeVersionId) The version ID of the type specified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
invocationPoint
Specifies the points in provisioning logic where a hook is invoked.
- Parameters:
invocationPoint
- Specifies the points in provisioning logic where a hook is invoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invocationPoint
Specifies the points in provisioning logic where a hook is invoked.
- Parameters:
invocationPoint
- Specifies the points in provisioning logic where a hook is invoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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
- Parameters:
typeName
- The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern ofOrganization::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:
- Returns a reference to this object so that method calls can be chained together.
-
-
typeVersionId
The version ID of the type specified.
- Parameters:
typeVersionId
- The version ID of the type specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeConfigurationVersionId
The version ID of the type configuration.
- Parameters:
typeConfigurationVersionId
- The version ID of the type configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDetails
Specifies details about the target that the hook will run against.
- Parameters:
targetDetails
- Specifies details about the target that the hook will run against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDetails
default ChangeSetHook.Builder targetDetails(Consumer<ChangeSetHookTargetDetails.Builder> targetDetails) Specifies details about the target that the hook will run against.
This is a convenience method that creates an instance of theChangeSetHookTargetDetails.Builder
avoiding the need to create one manually viaChangeSetHookTargetDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetDetails(ChangeSetHookTargetDetails)
.- Parameters:
targetDetails
- a consumer that will call methods onChangeSetHookTargetDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-