Package software.amazon.awscdk
Class CfnHookProps.Builder
java.lang.Object
software.amazon.awscdk.CfnHookProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHookProps>
- Enclosing interface:
CfnHookProps
@Stability(Stable)
public static final class CfnHookProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHookProps>
A builder for
CfnHookProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.properties
(Map<String, ? extends Object> properties) Sets the value ofCfnHookProps.getProperties()
Sets the value ofCfnHookProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnHookProps.getType()
- Parameters:
type
- The type of the hook (for example, "AWS::CodeDeploy::BlueGreen"). This parameter is required.- Returns:
this
-
properties
Sets the value ofCfnHookProps.getProperties()
- Parameters:
properties
- The properties of the hook.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHookProps>
- Returns:
- a new instance of
CfnHookProps
- Throws:
NullPointerException
- if any required attribute was not provided
-