Class CfnServicePropsMixin.TargetSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.resiliencehubv2.CfnServicePropsMixin.TargetSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.TargetSourceProperty>
- Enclosing interface:
CfnServicePropsMixin.TargetSourceProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.TargetSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.TargetSourceProperty>
A builder for
CfnServicePropsMixin.TargetSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.policyName(String policyName) Sets the value ofCfnServicePropsMixin.TargetSourceProperty.getPolicyName()Sets the value ofCfnServicePropsMixin.TargetSourceProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policyName
@Stability(Stable) public CfnServicePropsMixin.TargetSourceProperty.Builder policyName(String policyName) Sets the value ofCfnServicePropsMixin.TargetSourceProperty.getPolicyName()- Parameters:
policyName- the value to be set.- Returns:
this
-
value
Sets the value ofCfnServicePropsMixin.TargetSourceProperty.getValue()- Parameters:
value- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.TargetSourceProperty>- Returns:
- a new instance of
CfnServicePropsMixin.TargetSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-