Class CfnAppPropsMixin.ResourceMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.resiliencehub.CfnAppPropsMixin.ResourceMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppPropsMixin.ResourceMappingProperty>
- Enclosing interface:
CfnAppPropsMixin.ResourceMappingProperty
@Stability(Stable)
public static final class CfnAppPropsMixin.ResourceMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppPropsMixin.ResourceMappingProperty>
A builder for
CfnAppPropsMixin.ResourceMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eksSourceName(String eksSourceName) Sets the value ofCfnAppPropsMixin.ResourceMappingProperty.getEksSourceName()logicalStackName(String logicalStackName) Sets the value ofCfnAppPropsMixin.ResourceMappingProperty.getLogicalStackName()mappingType(String mappingType) Sets the value ofCfnAppPropsMixin.ResourceMappingProperty.getMappingType()physicalResourceId(CfnAppPropsMixin.PhysicalResourceIdProperty physicalResourceId) Sets the value ofCfnAppPropsMixin.ResourceMappingProperty.getPhysicalResourceId()physicalResourceId(IResolvable physicalResourceId) Sets the value ofCfnAppPropsMixin.ResourceMappingProperty.getPhysicalResourceId()resourceName(String resourceName) Sets the value ofCfnAppPropsMixin.ResourceMappingProperty.getResourceName()terraformSourceName(String terraformSourceName) Sets the value ofCfnAppPropsMixin.ResourceMappingProperty.getTerraformSourceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eksSourceName
@Stability(Stable) public CfnAppPropsMixin.ResourceMappingProperty.Builder eksSourceName(String eksSourceName) Sets the value ofCfnAppPropsMixin.ResourceMappingProperty.getEksSourceName()- Parameters:
eksSourceName- Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when themappingTypeisEKS.This parameter accepts values in "eks-cluster/namespace" format.
- Returns:
this
-
logicalStackName
@Stability(Stable) public CfnAppPropsMixin.ResourceMappingProperty.Builder logicalStackName(String logicalStackName) Sets the value ofCfnAppPropsMixin.ResourceMappingProperty.getLogicalStackName()- Parameters:
logicalStackName- Name of the CloudFormation stack this resource is mapped to when themappingTypeisCfnStack.- Returns:
this
-
mappingType
@Stability(Stable) public CfnAppPropsMixin.ResourceMappingProperty.Builder mappingType(String mappingType) Sets the value ofCfnAppPropsMixin.ResourceMappingProperty.getMappingType()- Parameters:
mappingType- Specifies the type of resource mapping.- Returns:
this
-
physicalResourceId
@Stability(Stable) public CfnAppPropsMixin.ResourceMappingProperty.Builder physicalResourceId(IResolvable physicalResourceId) Sets the value ofCfnAppPropsMixin.ResourceMappingProperty.getPhysicalResourceId()- Parameters:
physicalResourceId- Identifier of the physical resource.- Returns:
this
-
physicalResourceId
@Stability(Stable) public CfnAppPropsMixin.ResourceMappingProperty.Builder physicalResourceId(CfnAppPropsMixin.PhysicalResourceIdProperty physicalResourceId) Sets the value ofCfnAppPropsMixin.ResourceMappingProperty.getPhysicalResourceId()- Parameters:
physicalResourceId- Identifier of the physical resource.- Returns:
this
-
resourceName
@Stability(Stable) public CfnAppPropsMixin.ResourceMappingProperty.Builder resourceName(String resourceName) Sets the value ofCfnAppPropsMixin.ResourceMappingProperty.getResourceName()- Parameters:
resourceName- Name of the resource that this resource is mapped to when themappingTypeisResource.- Returns:
this
-
terraformSourceName
@Stability(Stable) public CfnAppPropsMixin.ResourceMappingProperty.Builder terraformSourceName(String terraformSourceName) Sets the value ofCfnAppPropsMixin.ResourceMappingProperty.getTerraformSourceName()- Parameters:
terraformSourceName- Name of the Terraform source that this resource is mapped to when themappingTypeisTerraform.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppPropsMixin.ResourceMappingProperty>- Returns:
- a new instance of
CfnAppPropsMixin.ResourceMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-