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