@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceMapping extends Object implements Serializable, Cloneable, StructuredPojo
Defines a resource mapping.
Constructor and Description |
---|
ResourceMapping() |
Modifier and Type | Method and Description |
---|---|
ResourceMapping |
clone() |
boolean |
equals(Object obj) |
String |
getAppRegistryAppName()
Name of the application this resource is mapped to when the
mappingType is
AppRegistryApp . |
String |
getEksSourceName()
Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the
mappingType is EKS . |
String |
getLogicalStackName()
Name of the CloudFormation stack this resource is mapped to when the
mappingType is
CfnStack . |
String |
getMappingType()
Specifies the type of resource mapping.
|
PhysicalResourceId |
getPhysicalResourceId()
Identifier of the physical resource.
|
String |
getResourceGroupName()
Name of the Resource Groups that this resource is mapped to when the
mappingType is
ResourceGroup . |
String |
getResourceName()
Name of the resource that this resource is mapped to when the
mappingType is Resource . |
String |
getTerraformSourceName()
Name of the Terraform source that this resource is mapped to when the
mappingType is
Terraform . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppRegistryAppName(String appRegistryAppName)
Name of the application this resource is mapped to when the
mappingType is
AppRegistryApp . |
void |
setEksSourceName(String eksSourceName)
Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the
mappingType is EKS . |
void |
setLogicalStackName(String logicalStackName)
Name of the CloudFormation stack this resource is mapped to when the
mappingType is
CfnStack . |
void |
setMappingType(String mappingType)
Specifies the type of resource mapping.
|
void |
setPhysicalResourceId(PhysicalResourceId physicalResourceId)
Identifier of the physical resource.
|
void |
setResourceGroupName(String resourceGroupName)
Name of the Resource Groups that this resource is mapped to when the
mappingType is
ResourceGroup . |
void |
setResourceName(String resourceName)
Name of the resource that this resource is mapped to when the
mappingType is Resource . |
void |
setTerraformSourceName(String terraformSourceName)
Name of the Terraform source that this resource is mapped to when the
mappingType is
Terraform . |
String |
toString()
Returns a string representation of this object.
|
ResourceMapping |
withAppRegistryAppName(String appRegistryAppName)
Name of the application this resource is mapped to when the
mappingType is
AppRegistryApp . |
ResourceMapping |
withEksSourceName(String eksSourceName)
Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the
mappingType is EKS . |
ResourceMapping |
withLogicalStackName(String logicalStackName)
Name of the CloudFormation stack this resource is mapped to when the
mappingType is
CfnStack . |
ResourceMapping |
withMappingType(ResourceMappingType mappingType)
Specifies the type of resource mapping.
|
ResourceMapping |
withMappingType(String mappingType)
Specifies the type of resource mapping.
|
ResourceMapping |
withPhysicalResourceId(PhysicalResourceId physicalResourceId)
Identifier of the physical resource.
|
ResourceMapping |
withResourceGroupName(String resourceGroupName)
Name of the Resource Groups that this resource is mapped to when the
mappingType is
ResourceGroup . |
ResourceMapping |
withResourceName(String resourceName)
Name of the resource that this resource is mapped to when the
mappingType is Resource . |
ResourceMapping |
withTerraformSourceName(String terraformSourceName)
Name of the Terraform source that this resource is mapped to when the
mappingType is
Terraform . |
public void setAppRegistryAppName(String appRegistryAppName)
Name of the application this resource is mapped to when the mappingType
is
AppRegistryApp
.
appRegistryAppName
- Name of the application this resource is mapped to when the mappingType
is
AppRegistryApp
.public String getAppRegistryAppName()
Name of the application this resource is mapped to when the mappingType
is
AppRegistryApp
.
mappingType
is
AppRegistryApp
.public ResourceMapping withAppRegistryAppName(String appRegistryAppName)
Name of the application this resource is mapped to when the mappingType
is
AppRegistryApp
.
appRegistryAppName
- Name of the application this resource is mapped to when the mappingType
is
AppRegistryApp
.public void setEksSourceName(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.
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.
public String getEksSourceName()
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.
mappingType
is EKS
. This parameter accepts values in "eks-cluster/namespace" format.
public ResourceMapping withEksSourceName(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.
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.
public void setLogicalStackName(String logicalStackName)
Name of the CloudFormation stack this resource is mapped to when the mappingType
is
CfnStack
.
logicalStackName
- Name of the CloudFormation stack this resource is mapped to when the mappingType
is
CfnStack
.public String getLogicalStackName()
Name of the CloudFormation stack this resource is mapped to when the mappingType
is
CfnStack
.
mappingType
is
CfnStack
.public ResourceMapping withLogicalStackName(String logicalStackName)
Name of the CloudFormation stack this resource is mapped to when the mappingType
is
CfnStack
.
logicalStackName
- Name of the CloudFormation stack this resource is mapped to when the mappingType
is
CfnStack
.public void setMappingType(String mappingType)
Specifies the type of resource mapping.
mappingType
- Specifies the type of resource mapping.ResourceMappingType
public String getMappingType()
Specifies the type of resource mapping.
ResourceMappingType
public ResourceMapping withMappingType(String mappingType)
Specifies the type of resource mapping.
mappingType
- Specifies the type of resource mapping.ResourceMappingType
public ResourceMapping withMappingType(ResourceMappingType mappingType)
Specifies the type of resource mapping.
mappingType
- Specifies the type of resource mapping.ResourceMappingType
public void setPhysicalResourceId(PhysicalResourceId physicalResourceId)
Identifier of the physical resource.
physicalResourceId
- Identifier of the physical resource.public PhysicalResourceId getPhysicalResourceId()
Identifier of the physical resource.
public ResourceMapping withPhysicalResourceId(PhysicalResourceId physicalResourceId)
Identifier of the physical resource.
physicalResourceId
- Identifier of the physical resource.public void setResourceGroupName(String resourceGroupName)
Name of the Resource Groups that this resource is mapped to when the mappingType
is
ResourceGroup
.
resourceGroupName
- Name of the Resource Groups that this resource is mapped to when the mappingType
is
ResourceGroup
.public String getResourceGroupName()
Name of the Resource Groups that this resource is mapped to when the mappingType
is
ResourceGroup
.
mappingType
is
ResourceGroup
.public ResourceMapping withResourceGroupName(String resourceGroupName)
Name of the Resource Groups that this resource is mapped to when the mappingType
is
ResourceGroup
.
resourceGroupName
- Name of the Resource Groups that this resource is mapped to when the mappingType
is
ResourceGroup
.public void setResourceName(String resourceName)
Name of the resource that this resource is mapped to when the mappingType
is Resource
.
resourceName
- Name of the resource that this resource is mapped to when the mappingType
is
Resource
.public String getResourceName()
Name of the resource that this resource is mapped to when the mappingType
is Resource
.
mappingType
is
Resource
.public ResourceMapping withResourceName(String resourceName)
Name of the resource that this resource is mapped to when the mappingType
is Resource
.
resourceName
- Name of the resource that this resource is mapped to when the mappingType
is
Resource
.public void setTerraformSourceName(String terraformSourceName)
Name of the Terraform source that this resource is mapped to when the mappingType
is
Terraform
.
terraformSourceName
- Name of the Terraform source that this resource is mapped to when the mappingType
is
Terraform
.public String getTerraformSourceName()
Name of the Terraform source that this resource is mapped to when the mappingType
is
Terraform
.
mappingType
is
Terraform
.public ResourceMapping withTerraformSourceName(String terraformSourceName)
Name of the Terraform source that this resource is mapped to when the mappingType
is
Terraform
.
terraformSourceName
- Name of the Terraform source that this resource is mapped to when the mappingType
is
Terraform
.public String toString()
toString
in class Object
Object.toString()
public ResourceMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.