Interface ChangeSetHook.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ChangeSetHook.Builder,ChangeSetHook>
,SdkBuilder<ChangeSetHook.Builder,ChangeSetHook>
,SdkPojo
- Enclosing class:
- ChangeSetHook
public static interface ChangeSetHook.Builder extends SdkPojo, CopyableBuilder<ChangeSetHook.Builder,ChangeSetHook>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ChangeSetHook.Builder
failureMode(String failureMode)
Specify the hook failure mode for non-compliant resources in the followings ways.ChangeSetHook.Builder
failureMode(HookFailureMode failureMode)
Specify the hook failure mode for non-compliant resources in the followings ways.ChangeSetHook.Builder
invocationPoint(String invocationPoint)
Specifies the points in provisioning logic where a hook is invoked.ChangeSetHook.Builder
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.ChangeSetHook.Builder
targetDetails(ChangeSetHookTargetDetails targetDetails)
Specifies details about the target that the hook will run against.ChangeSetHook.Builder
typeConfigurationVersionId(String typeConfigurationVersionId)
The version ID of the type configuration.ChangeSetHook.Builder
typeName(String typeName)
The unique name for your hook.ChangeSetHook.Builder
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 Detail
-
invocationPoint
ChangeSetHook.Builder invocationPoint(String 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:
HookInvocationPoint
,HookInvocationPoint
-
invocationPoint
ChangeSetHook.Builder invocationPoint(HookInvocationPoint 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:
HookInvocationPoint
,HookInvocationPoint
-
failureMode
ChangeSetHook.Builder failureMode(String 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:
HookFailureMode
,HookFailureMode
-
-
failureMode
ChangeSetHook.Builder failureMode(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.
- 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:
HookFailureMode
,HookFailureMode
-
-
typeName
ChangeSetHook.Builder typeName(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
- 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
ChangeSetHook.Builder typeVersionId(String 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
ChangeSetHook.Builder typeConfigurationVersionId(String 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
ChangeSetHook.Builder targetDetails(ChangeSetHookTargetDetails 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:
targetDetails(ChangeSetHookTargetDetails)
-
-