Class CfnService.Builder
java.lang.Object
software.amazon.awscdk.services.resiliencehubv2.CfnService.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService>
- Enclosing class:
CfnService
@Stability(Stable)
public static final class CfnService.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService>
A fluent builder for
CfnService.-
Method Summary
Modifier and TypeMethodDescriptionassertions(List<? extends Object> assertions) Assertions associated with this service.assertions(IResolvable assertions) Assertions associated with this service.associatedSystems(List<? extends Object> associatedSystems) Systems associated with this service.associatedSystems(IResolvable associatedSystems) Systems associated with this service.build()static CfnService.BuilderdependencyDiscovery(String dependencyDiscovery) Dependency discovery state.description(String description) The description of the service.inputSources(List<? extends Object> inputSources) Input sources for this service.inputSources(IResolvable inputSources) Input sources for this service.The KMS key ID for encrypting service data.The name of the service.permissionModel(IResolvable permissionModel) permissionModel(CfnService.PermissionModelProperty permissionModel) The ARN of the resilience policy to associate.AWS regions for the service.reportConfiguration(IResolvable reportConfiguration) Configuration for automatic report generation on a Service.reportConfiguration(CfnService.ServiceReportConfigurationProperty reportConfiguration) Configuration for automatic report generation on a Service.Tags assigned to the service.
-
Method Details
-
create
@Stability(Stable) public static CfnService.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
CfnService.Builder.
-
name
The name of the service.- Parameters:
name- The name of the service. This parameter is required.- Returns:
this- See Also:
-
regions
AWS regions for the service.- Parameters:
regions- AWS regions for the service. This parameter is required.- Returns:
this- See Also:
-
assertions
Assertions associated with this service.- Parameters:
assertions- Assertions associated with this service. This parameter is required.- Returns:
this- See Also:
-
assertions
Assertions associated with this service.- Parameters:
assertions- Assertions associated with this service. This parameter is required.- Returns:
this- See Also:
-
associatedSystems
Systems associated with this service.- Parameters:
associatedSystems- Systems associated with this service. This parameter is required.- Returns:
this- See Also:
-
associatedSystems
@Stability(Stable) public CfnService.Builder associatedSystems(List<? extends Object> associatedSystems) Systems associated with this service.- Parameters:
associatedSystems- Systems associated with this service. This parameter is required.- Returns:
this- See Also:
-
dependencyDiscovery
Dependency discovery state.- Parameters:
dependencyDiscovery- Dependency discovery state. This parameter is required.- Returns:
this- See Also:
-
description
The description of the service.- Parameters:
description- The description of the service. This parameter is required.- Returns:
this- See Also:
-
inputSources
Input sources for this service.- Parameters:
inputSources- Input sources for this service. This parameter is required.- Returns:
this- See Also:
-
inputSources
Input sources for this service.- Parameters:
inputSources- Input sources for this service. This parameter is required.- Returns:
this- See Also:
-
kmsKeyId
The KMS key ID for encrypting service data.- Parameters:
kmsKeyId- The KMS key ID for encrypting service data. This parameter is required.- Returns:
this- See Also:
-
permissionModel
- Parameters:
permissionModel- This parameter is required.- Returns:
this- See Also:
-
permissionModel
@Stability(Stable) public CfnService.Builder permissionModel(CfnService.PermissionModelProperty permissionModel) - Parameters:
permissionModel- This parameter is required.- Returns:
this- See Also:
-
policyArn
The ARN of the resilience policy to associate.- Parameters:
policyArn- The ARN of the resilience policy to associate. This parameter is required.- Returns:
this- See Also:
-
reportConfiguration
Configuration for automatic report generation on a Service.- Parameters:
reportConfiguration- Configuration for automatic report generation on a Service. This parameter is required.- Returns:
this- See Also:
-
reportConfiguration
@Stability(Stable) public CfnService.Builder reportConfiguration(CfnService.ServiceReportConfigurationProperty reportConfiguration) Configuration for automatic report generation on a Service.- Parameters:
reportConfiguration- Configuration for automatic report generation on a Service. This parameter is required.- Returns:
this- See Also:
-
tags
Tags assigned to the service.- Parameters:
tags- Tags assigned to the service. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService>- Returns:
- a newly built instance of
CfnService.
-