Class CfnServiceFunction.Builder
java.lang.Object
software.amazon.awscdk.services.resiliencehubv2.CfnServiceFunction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceFunction>
- Enclosing class:
CfnServiceFunction
@Stability(Stable)
public static final class CfnServiceFunction.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceFunction>
A fluent builder for
CfnServiceFunction.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnServiceFunction.Buildercriticality(String criticality) The criticality of the service function.description(String description) The description of the service function.The name of the service function.serviceArn(String serviceArn) The ARN of the parent service.
-
Method Details
-
create
@Stability(Stable) public static CfnServiceFunction.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnServiceFunction.Builder.
-
criticality
The criticality of the service function.- Parameters:
criticality- The criticality of the service function. This parameter is required.- Returns:
this- See Also:
-
name
The name of the service function.- Parameters:
name- The name of the service function. This parameter is required.- Returns:
this- See Also:
-
serviceArn
The ARN of the parent service.- Parameters:
serviceArn- The ARN of the parent service. This parameter is required.- Returns:
this- See Also:
-
description
The description of the service function.- Parameters:
description- The description of the service function. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceFunction>- Returns:
- a newly built instance of
CfnServiceFunction.
-