Class CfnServiceProps.Builder
java.lang.Object
software.amazon.awscdk.services.resiliencehubv2.CfnServiceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceProps>
- Enclosing interface:
CfnServiceProps
@Stability(Stable)
public static final class CfnServiceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceProps>
A builder for
CfnServiceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassertions(List<? extends Object> assertions) Sets the value ofCfnServiceProps.getAssertions()assertions(IResolvable assertions) Sets the value ofCfnServiceProps.getAssertions()associatedSystems(List<? extends Object> associatedSystems) Sets the value ofCfnServiceProps.getAssociatedSystems()associatedSystems(IResolvable associatedSystems) Sets the value ofCfnServiceProps.getAssociatedSystems()build()Builds the configured instance.dependencyDiscovery(String dependencyDiscovery) Sets the value ofCfnServiceProps.getDependencyDiscovery()description(String description) Sets the value ofCfnServiceProps.getDescription()inputSources(List<? extends Object> inputSources) Sets the value ofCfnServiceProps.getInputSources()inputSources(IResolvable inputSources) Sets the value ofCfnServiceProps.getInputSources()Sets the value ofCfnServiceProps.getKmsKeyId()Sets the value ofCfnServiceProps.getName()permissionModel(IResolvable permissionModel) Sets the value ofCfnServiceProps.getPermissionModel()permissionModel(CfnService.PermissionModelProperty permissionModel) Sets the value ofCfnServiceProps.getPermissionModel()Sets the value ofCfnServiceProps.getPolicyArn()Sets the value ofCfnServiceProps.getRegions()reportConfiguration(IResolvable reportConfiguration) Sets the value ofCfnServiceProps.getReportConfiguration()reportConfiguration(CfnService.ServiceReportConfigurationProperty reportConfiguration) Sets the value ofCfnServiceProps.getReportConfiguration()Sets the value ofCfnServiceProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnServiceProps.getName()- Parameters:
name- The name of the service. This parameter is required.- Returns:
this
-
regions
Sets the value ofCfnServiceProps.getRegions()- Parameters:
regions- AWS regions for the service. This parameter is required.- Returns:
this
-
assertions
Sets the value ofCfnServiceProps.getAssertions()- Parameters:
assertions- Assertions associated with this service.- Returns:
this
-
assertions
Sets the value ofCfnServiceProps.getAssertions()- Parameters:
assertions- Assertions associated with this service.- Returns:
this
-
associatedSystems
Sets the value ofCfnServiceProps.getAssociatedSystems()- Parameters:
associatedSystems- Systems associated with this service.- Returns:
this
-
associatedSystems
@Stability(Stable) public CfnServiceProps.Builder associatedSystems(List<? extends Object> associatedSystems) Sets the value ofCfnServiceProps.getAssociatedSystems()- Parameters:
associatedSystems- Systems associated with this service.- Returns:
this
-
dependencyDiscovery
Sets the value ofCfnServiceProps.getDependencyDiscovery()- Parameters:
dependencyDiscovery- Dependency discovery state.- Returns:
this
-
description
Sets the value ofCfnServiceProps.getDescription()- Parameters:
description- The description of the service.- Returns:
this
-
inputSources
Sets the value ofCfnServiceProps.getInputSources()- Parameters:
inputSources- Input sources for this service.- Returns:
this
-
inputSources
Sets the value ofCfnServiceProps.getInputSources()- Parameters:
inputSources- Input sources for this service.- Returns:
this
-
kmsKeyId
Sets the value ofCfnServiceProps.getKmsKeyId()- Parameters:
kmsKeyId- The KMS key ID for encrypting service data.- Returns:
this
-
permissionModel
Sets the value ofCfnServiceProps.getPermissionModel()- Parameters:
permissionModel- the value to be set.- Returns:
this
-
permissionModel
@Stability(Stable) public CfnServiceProps.Builder permissionModel(CfnService.PermissionModelProperty permissionModel) Sets the value ofCfnServiceProps.getPermissionModel()- Parameters:
permissionModel- the value to be set.- Returns:
this
-
policyArn
Sets the value ofCfnServiceProps.getPolicyArn()- Parameters:
policyArn- The ARN of the resilience policy to associate.- Returns:
this
-
reportConfiguration
@Stability(Stable) public CfnServiceProps.Builder reportConfiguration(IResolvable reportConfiguration) Sets the value ofCfnServiceProps.getReportConfiguration()- Parameters:
reportConfiguration- Configuration for automatic report generation on a Service.- Returns:
this
-
reportConfiguration
@Stability(Stable) public CfnServiceProps.Builder reportConfiguration(CfnService.ServiceReportConfigurationProperty reportConfiguration) Sets the value ofCfnServiceProps.getReportConfiguration()- Parameters:
reportConfiguration- Configuration for automatic report generation on a Service.- Returns:
this
-
tags
Sets the value ofCfnServiceProps.getTags()- Parameters:
tags- Tags assigned to the service.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceProps>- Returns:
- a new instance of
CfnServiceProps - Throws:
NullPointerException- if any required attribute was not provided
-