Class CfnServiceFunctionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.resiliencehubv2.CfnServiceFunctionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceFunctionMixinProps>
- Enclosing interface:
CfnServiceFunctionMixinProps
@Stability(Stable)
public static final class CfnServiceFunctionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceFunctionMixinProps>
A builder for
CfnServiceFunctionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.criticality(String criticality) Sets the value ofCfnServiceFunctionMixinProps.getCriticality()description(String description) Sets the value ofCfnServiceFunctionMixinProps.getDescription()Sets the value ofCfnServiceFunctionMixinProps.getName()serviceArn(String serviceArn) Sets the value ofCfnServiceFunctionMixinProps.getServiceArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
criticality
Sets the value ofCfnServiceFunctionMixinProps.getCriticality()- Parameters:
criticality- The criticality of the service function.- Returns:
this
-
description
Sets the value ofCfnServiceFunctionMixinProps.getDescription()- Parameters:
description- The description of the service function.- Returns:
this
-
name
Sets the value ofCfnServiceFunctionMixinProps.getName()- Parameters:
name- The name of the service function.- Returns:
this
-
serviceArn
Sets the value ofCfnServiceFunctionMixinProps.getServiceArn()- Parameters:
serviceArn- The ARN of the parent service.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceFunctionMixinProps>- Returns:
- a new instance of
CfnServiceFunctionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-