Interface ResourceMapping.Builder

  • Method Details

    • appRegistryAppName

      ResourceMapping.Builder appRegistryAppName(String appRegistryAppName)

      Name of the application this resource is mapped to when the mappingType is AppRegistryApp.

      Parameters:
      appRegistryAppName - Name of the application this resource is mapped to when the mappingType is AppRegistryApp.
      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 mappingType is EKS.

      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 the mappingType is EKS.

      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 mappingType is CfnStack.

      Parameters:
      logicalStackName - Name of the CloudFormation stack this resource is mapped to when the mappingType is CfnStack.
      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:
    • 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:
    • 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 the PhysicalResourceId.Builder avoiding the need to create one manually via PhysicalResourceId.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to physicalResourceId(PhysicalResourceId).

      Parameters:
      physicalResourceId - a consumer that will call methods on PhysicalResourceId.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceGroupName

      ResourceMapping.Builder resourceGroupName(String resourceGroupName)

      Name of the Resource Groups that this resource is mapped to when the mappingType is ResourceGroup.

      Parameters:
      resourceGroupName - Name of the Resource Groups that this resource is mapped to when the mappingType is ResourceGroup.
      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 mappingType is Resource.

      Parameters:
      resourceName - Name of the resource that this resource is mapped to when the mappingType is Resource.
      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 mappingType is Terraform.

      Parameters:
      terraformSourceName - Name of the Terraform source that this resource is mapped to when the mappingType is Terraform.
      Returns:
      Returns a reference to this object so that method calls can be chained together.