public static final class CfnApp.ResourceMappingProperty.Builder
extends java.lang.Object
CfnApp.ResourceMappingProperty
Constructor and Description |
---|
Builder() |
public CfnApp.ResourceMappingProperty.Builder mappingType(java.lang.String mappingType)
CfnApp.ResourceMappingProperty.getMappingType()
mappingType
- Specifies the type of resource mapping. This parameter is required.
Valid Values: CfnStack | Resource | AppRegistryApp | ResourceGroup | Terraform
appRegistryAppName
property.logicalStackName
property.resourceName
property.resourceGroupName
property.this
public CfnApp.ResourceMappingProperty.Builder physicalResourceId(IResolvable physicalResourceId)
CfnApp.ResourceMappingProperty.getPhysicalResourceId()
physicalResourceId
- The identifier of this resource. This parameter is required.this
public CfnApp.ResourceMappingProperty.Builder physicalResourceId(CfnApp.PhysicalResourceIdProperty physicalResourceId)
CfnApp.ResourceMappingProperty.getPhysicalResourceId()
physicalResourceId
- The identifier of this resource. This parameter is required.this
public CfnApp.ResourceMappingProperty.Builder logicalStackName(java.lang.String logicalStackName)
CfnApp.ResourceMappingProperty.getLogicalStackName()
logicalStackName
- The name of the CloudFormation stack this resource is mapped to.this
public CfnApp.ResourceMappingProperty.Builder resourceName(java.lang.String resourceName)
CfnApp.ResourceMappingProperty.getResourceName()
resourceName
- The name of the resource this resource is mapped to.this
public CfnApp.ResourceMappingProperty.Builder terraformSourceName(java.lang.String terraformSourceName)
CfnApp.ResourceMappingProperty.getTerraformSourceName()
terraformSourceName
- The short name of the Terraform source.this
public CfnApp.ResourceMappingProperty build()
CfnApp.ResourceMappingProperty
java.lang.NullPointerException
- if any required attribute was not provided