Interface ResourceMapping.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceMapping.Builder,ResourceMapping>,SdkBuilder<ResourceMapping.Builder,ResourceMapping>,SdkPojo
- Enclosing class:
- ResourceMapping
public static interface ResourceMapping.Builder extends SdkPojo, CopyableBuilder<ResourceMapping.Builder,ResourceMapping>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ResourceMapping.BuilderappRegistryAppName(String appRegistryAppName)Name of the application this resource is mapped to when themappingTypeisAppRegistryApp.ResourceMapping.BuildereksSourceName(String eksSourceName)Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when themappingTypeisEKS.ResourceMapping.BuilderlogicalStackName(String logicalStackName)Name of the CloudFormation stack this resource is mapped to when themappingTypeisCfnStack.ResourceMapping.BuildermappingType(String mappingType)Specifies the type of resource mapping.ResourceMapping.BuildermappingType(ResourceMappingType mappingType)Specifies the type of resource mapping.default ResourceMapping.BuilderphysicalResourceId(Consumer<PhysicalResourceId.Builder> physicalResourceId)Identifier of the physical resource.ResourceMapping.BuilderphysicalResourceId(PhysicalResourceId physicalResourceId)Identifier of the physical resource.ResourceMapping.BuilderresourceGroupName(String resourceGroupName)Name of the Resource Groups that this resource is mapped to when themappingTypeisResourceGroup.ResourceMapping.BuilderresourceName(String resourceName)Name of the resource that this resource is mapped to when themappingTypeisResource.ResourceMapping.BuilderterraformSourceName(String terraformSourceName)Name of the Terraform source that this resource is mapped to when themappingTypeisTerraform.-
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 Detail
-
appRegistryAppName
ResourceMapping.Builder appRegistryAppName(String appRegistryAppName)
Name of the application this resource is mapped to when the
mappingTypeisAppRegistryApp.- Parameters:
appRegistryAppName- Name of the application this resource is mapped to when themappingTypeisAppRegistryApp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eksSourceName
ResourceMapping.Builder eksSourceName(String eksSourceName)
Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the
mappingTypeisEKS.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 themappingTypeisEKS.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
ResourceMapping.Builder logicalStackName(String logicalStackName)
Name of the CloudFormation stack this resource is mapped to when the
mappingTypeisCfnStack.- Parameters:
logicalStackName- Name of the CloudFormation stack this resource is mapped to when themappingTypeisCfnStack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mappingType
ResourceMapping.Builder mappingType(String 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:
ResourceMappingType,ResourceMappingType
-
mappingType
ResourceMapping.Builder mappingType(ResourceMappingType 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:
ResourceMappingType,ResourceMappingType
-
physicalResourceId
ResourceMapping.Builder physicalResourceId(PhysicalResourceId 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.Builderavoiding the need to create one manually viaPhysicalResourceId.builder().When the
Consumercompletes,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:
physicalResourceId(PhysicalResourceId)
-
resourceGroupName
ResourceMapping.Builder resourceGroupName(String resourceGroupName)
Name of the Resource Groups that this resource is mapped to when the
mappingTypeisResourceGroup.- Parameters:
resourceGroupName- Name of the Resource Groups that this resource is mapped to when themappingTypeisResourceGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceName
ResourceMapping.Builder resourceName(String resourceName)
Name of the resource that this resource is mapped to when the
mappingTypeisResource.- Parameters:
resourceName- Name of the resource that this resource is mapped to when themappingTypeisResource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terraformSourceName
ResourceMapping.Builder terraformSourceName(String terraformSourceName)
Name of the Terraform source that this resource is mapped to when the
mappingTypeisTerraform.- Parameters:
terraformSourceName- Name of the Terraform source that this resource is mapped to when themappingTypeisTerraform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-