Interface ResourceMapping.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceMapping.Builder,
,ResourceMapping> SdkBuilder<ResourceMapping.Builder,
,ResourceMapping> SdkPojo
- Enclosing class:
ResourceMapping
-
Method Summary
Modifier and TypeMethodDescriptionappRegistryAppName
(String appRegistryAppName) The name of the application this resource is mapped to.eksSourceName
(String eksSourceName) Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.logicalStackName
(String logicalStackName) The name of the CloudFormation stack this resource is mapped to.mappingType
(String mappingType) Specifies the type of resource mapping.mappingType
(ResourceMappingType mappingType) Specifies the type of resource mapping.default ResourceMapping.Builder
physicalResourceId
(Consumer<PhysicalResourceId.Builder> physicalResourceId) Identifier of the physical resource.physicalResourceId
(PhysicalResourceId physicalResourceId) Identifier of the physical resource.resourceGroupName
(String resourceGroupName) Name of the resource group that the resource is mapped to.resourceName
(String resourceName) Name of the resource that the resource is mapped to.terraformSourceName
(String terraformSourceName) The short name of the Terraform source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
appRegistryAppName
The name of the application this resource is mapped to.
- Parameters:
appRegistryAppName
- The name of the application this resource is mapped to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eksSourceName
Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.
This parameter accepts values in "eks-cluster/namespace" format.
- Parameters:
eksSourceName
- Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.This parameter accepts values in "eks-cluster/namespace" format.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logicalStackName
The name of the CloudFormation stack this resource is mapped to.
- Parameters:
logicalStackName
- The name of the CloudFormation stack this resource is mapped to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mappingType
Specifies the type of resource mapping.
- AppRegistryApp
-
The resource is mapped to another application. The name of the application is contained in the
appRegistryAppName
property. - CfnStack
-
The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the
logicalStackName
property. - Resource
-
The resource is mapped to another resource. The name of the resource is contained in the
resourceName
property. - ResourceGroup
-
The resource is mapped to Resource Groups. The name of the resource group is contained in the
resourceGroupName
property.
- Parameters:
mappingType
- Specifies the type of resource mapping.- AppRegistryApp
-
The resource is mapped to another application. The name of the application is contained in the
appRegistryAppName
property. - CfnStack
-
The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the
logicalStackName
property. - Resource
-
The resource is mapped to another resource. The name of the resource is contained in the
resourceName
property. - ResourceGroup
-
The resource is mapped to Resource Groups. The name of the resource group is contained in the
resourceGroupName
property.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mappingType
Specifies the type of resource mapping.
- AppRegistryApp
-
The resource is mapped to another application. The name of the application is contained in the
appRegistryAppName
property. - CfnStack
-
The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the
logicalStackName
property. - Resource
-
The resource is mapped to another resource. The name of the resource is contained in the
resourceName
property. - ResourceGroup
-
The resource is mapped to Resource Groups. The name of the resource group is contained in the
resourceGroupName
property.
- Parameters:
mappingType
- Specifies the type of resource mapping.- AppRegistryApp
-
The resource is mapped to another application. The name of the application is contained in the
appRegistryAppName
property. - CfnStack
-
The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the
logicalStackName
property. - Resource
-
The resource is mapped to another resource. The name of the resource is contained in the
resourceName
property. - ResourceGroup
-
The resource is mapped to Resource Groups. The name of the resource group is contained in the
resourceGroupName
property.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
physicalResourceId
Identifier of the physical resource.
- Parameters:
physicalResourceId
- Identifier of the physical resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
physicalResourceId
default ResourceMapping.Builder physicalResourceId(Consumer<PhysicalResourceId.Builder> physicalResourceId) Identifier of the physical resource.
This is a convenience method that creates an instance of thePhysicalResourceId.Builder
avoiding the need to create one manually viaPhysicalResourceId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophysicalResourceId(PhysicalResourceId)
.- Parameters:
physicalResourceId
- a consumer that will call methods onPhysicalResourceId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceGroupName
Name of the resource group that the resource is mapped to.
- Parameters:
resourceGroupName
- Name of the resource group that the resource is mapped to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceName
Name of the resource that the resource is mapped to.
- Parameters:
resourceName
- Name of the resource that the resource is mapped to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terraformSourceName
The short name of the Terraform source.
- Parameters:
terraformSourceName
- The short name of the Terraform source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-