Class CfnSystemProps.Builder
java.lang.Object
software.amazon.awscdk.services.resiliencehubv2.CfnSystemProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSystemProps>
- Enclosing interface:
CfnSystemProps
@Stability(Stable)
public static final class CfnSystemProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSystemProps>
A builder for
CfnSystemProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnSystemProps.getDescription()Sets the value ofCfnSystemProps.getKmsKeyId()Sets the value ofCfnSystemProps.getName()Sets the value ofCfnSystemProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnSystemProps.getName()- Parameters:
name- The name of the system. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnSystemProps.getDescription()- Parameters:
description- The description of the system.- Returns:
this
-
kmsKeyId
Sets the value ofCfnSystemProps.getKmsKeyId()- Parameters:
kmsKeyId- The KMS key ID for encrypting system data.- Returns:
this
-
tags
Sets the value ofCfnSystemProps.getTags()- Parameters:
tags- Tags assigned to the system.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSystemProps>- Returns:
- a new instance of
CfnSystemProps - Throws:
NullPointerException- if any required attribute was not provided
-