Class CfnService.ResourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.resiliencehubv2.CfnService.ResourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.ResourceConfigurationProperty>
- Enclosing interface:
CfnService.ResourceConfigurationProperty
@Stability(Stable)
public static final class CfnService.ResourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.ResourceConfigurationProperty>
A builder for
CfnService.ResourceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cfnStackArn(String cfnStackArn) Sets the value ofCfnService.ResourceConfigurationProperty.getCfnStackArn()designFileS3Url(String designFileS3Url) Sets the value ofCfnService.ResourceConfigurationProperty.getDesignFileS3Url()eks(IResolvable eks) Sets the value ofCfnService.ResourceConfigurationProperty.getEks()Sets the value ofCfnService.ResourceConfigurationProperty.getEks()resourceTags(List<? extends Object> resourceTags) Sets the value ofCfnService.ResourceConfigurationProperty.getResourceTags()resourceTags(IResolvable resourceTags) Sets the value ofCfnService.ResourceConfigurationProperty.getResourceTags()tfStateFileUrl(String tfStateFileUrl) Sets the value ofCfnService.ResourceConfigurationProperty.getTfStateFileUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cfnStackArn
@Stability(Stable) public CfnService.ResourceConfigurationProperty.Builder cfnStackArn(String cfnStackArn) Sets the value ofCfnService.ResourceConfigurationProperty.getCfnStackArn()- Parameters:
cfnStackArn- ARN of a CloudFormation stack.- Returns:
this
-
designFileS3Url
@Stability(Stable) public CfnService.ResourceConfigurationProperty.Builder designFileS3Url(String designFileS3Url) Sets the value ofCfnService.ResourceConfigurationProperty.getDesignFileS3Url()- Parameters:
designFileS3Url- S3 URL of a design file.- Returns:
this
-
eks
Sets the value ofCfnService.ResourceConfigurationProperty.getEks()- Parameters:
eks- the value to be set.- Returns:
this
-
eks
@Stability(Stable) public CfnService.ResourceConfigurationProperty.Builder eks(CfnService.EksSourceProperty eks) Sets the value ofCfnService.ResourceConfigurationProperty.getEks()- Parameters:
eks- the value to be set.- Returns:
this
-
resourceTags
@Stability(Stable) public CfnService.ResourceConfigurationProperty.Builder resourceTags(IResolvable resourceTags) Sets the value ofCfnService.ResourceConfigurationProperty.getResourceTags()- Parameters:
resourceTags- Resource tags to discover resources.- Returns:
this
-
resourceTags
@Stability(Stable) public CfnService.ResourceConfigurationProperty.Builder resourceTags(List<? extends Object> resourceTags) Sets the value ofCfnService.ResourceConfigurationProperty.getResourceTags()- Parameters:
resourceTags- Resource tags to discover resources.- Returns:
this
-
tfStateFileUrl
@Stability(Stable) public CfnService.ResourceConfigurationProperty.Builder tfStateFileUrl(String tfStateFileUrl) Sets the value ofCfnService.ResourceConfigurationProperty.getTfStateFileUrl()- Parameters:
tfStateFileUrl- URL of a Terraform state file.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.ResourceConfigurationProperty>- Returns:
- a new instance of
CfnService.ResourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-