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