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) Name of the application this resource is mapped to when themappingType
isAppRegistryApp
.eksSourceName
(String eksSourceName) Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when themappingType
isEKS
.logicalStackName
(String logicalStackName) Name of the CloudFormation stack this resource is mapped to when themappingType
isCfnStack
.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 Groups that this resource is mapped to when themappingType
isResourceGroup
.resourceName
(String resourceName) Name of the resource that this resource is mapped to when themappingType
isResource
.terraformSourceName
(String terraformSourceName) Name of the Terraform source that this resource is mapped to when themappingType
isTerraform
.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, sdkFieldNameToField, sdkFields
-
Method Details
-
appRegistryAppName
Name of the application this resource is mapped to when the
mappingType
isAppRegistryApp
.- Parameters:
appRegistryAppName
- Name of the application this resource is mapped to when themappingType
isAppRegistryApp
.- 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 that this resource is mapped to when the
mappingType
isEKS
.This parameter accepts values in "eks-cluster/namespace" format.
- Parameters:
eksSourceName
- Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when themappingType
isEKS
.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
Name of the CloudFormation stack this resource is mapped to when the
mappingType
isCfnStack
.- Parameters:
logicalStackName
- Name of the CloudFormation stack this resource is mapped to when themappingType
isCfnStack
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mappingType
Specifies the type of resource mapping.
- Parameters:
mappingType
- Specifies the type of resource mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mappingType
Specifies the type of resource mapping.
- Parameters:
mappingType
- Specifies the type of resource mapping.- 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 Groups that this resource is mapped to when the
mappingType
isResourceGroup
.- Parameters:
resourceGroupName
- Name of the Resource Groups that this resource is mapped to when themappingType
isResourceGroup
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceName
Name of the resource that this resource is mapped to when the
mappingType
isResource
.- Parameters:
resourceName
- Name of the resource that this resource is mapped to when themappingType
isResource
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terraformSourceName
Name of the Terraform source that this resource is mapped to when the
mappingType
isTerraform
.- Parameters:
terraformSourceName
- Name of the Terraform source that this resource is mapped to when themappingType
isTerraform
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-