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