Class CfnUserJourneyProps.Builder
java.lang.Object
software.amazon.awscdk.services.resiliencehubv2.CfnUserJourneyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserJourneyProps>
- Enclosing interface:
CfnUserJourneyProps
@Stability(Stable)
public static final class CfnUserJourneyProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserJourneyProps>
A builder for
CfnUserJourneyProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnUserJourneyProps.getDescription()Sets the value ofCfnUserJourneyProps.getName()Sets the value ofCfnUserJourneyProps.getPolicyArn()systemIdentifier(String systemIdentifier) Sets the value ofCfnUserJourneyProps.getSystemIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnUserJourneyProps.getName()- Parameters:
name- The name of the user journey. This parameter is required.- Returns:
this
-
systemIdentifier
Sets the value ofCfnUserJourneyProps.getSystemIdentifier()- Parameters:
systemIdentifier- The system ARN or system ID that owns this user journey. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnUserJourneyProps.getDescription()- Parameters:
description- The description of the user journey.- Returns:
this
-
policyArn
Sets the value ofCfnUserJourneyProps.getPolicyArn()- Parameters:
policyArn- The ARN of the resilience policy to associate with this user journey.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserJourneyProps>- Returns:
- a new instance of
CfnUserJourneyProps - Throws:
NullPointerException- if any required attribute was not provided
-