@Generated(value="software.amazon.awssdk:codegen") public final class ResourceMapping extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceMapping.Builder,ResourceMapping>
Defines a resource mapping.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceMapping.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
appRegistryAppName()
The name of the application this resource is mapped to.
|
static ResourceMapping.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
logicalStackName()
The name of the CloudFormation stack this resource is mapped to.
|
ResourceMappingType |
mappingType()
Specifies the type of resource mapping.
|
String |
mappingTypeAsString()
Specifies the type of resource mapping.
|
PhysicalResourceId |
physicalResourceId()
The identifier of this resource.
|
String |
resourceGroupName()
The name of the resource group this resource is mapped to.
|
String |
resourceName()
The name of the resource this resource is mapped to.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceMapping.Builder> |
serializableBuilderClass() |
ResourceMapping.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String appRegistryAppName()
The name of the application this resource is mapped to.
public final String logicalStackName()
The name of the CloudFormation stack this resource is mapped to.
public final ResourceMappingType mappingType()
Specifies the type of resource mapping.
The resource is mapped to another application. The name of the application is contained in the
appRegistryAppName property.
The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the
logicalStackName property.
The resource is mapped to another resource. The name of the resource is contained in the
resourceName property.
The resource is mapped to a resource group. The name of the resource group is contained in the
resourceGroupName property.
If the service returns an enum value that is not available in the current SDK version, mappingType will
return ResourceMappingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from mappingTypeAsString().
The resource is mapped to another application. The name of the application is contained in the
appRegistryAppName property.
The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in
the logicalStackName property.
The resource is mapped to another resource. The name of the resource is contained in the
resourceName property.
The resource is mapped to a resource group. The name of the resource group is contained in the
resourceGroupName property.
ResourceMappingTypepublic final String mappingTypeAsString()
Specifies the type of resource mapping.
The resource is mapped to another application. The name of the application is contained in the
appRegistryAppName property.
The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the
logicalStackName property.
The resource is mapped to another resource. The name of the resource is contained in the
resourceName property.
The resource is mapped to a resource group. The name of the resource group is contained in the
resourceGroupName property.
If the service returns an enum value that is not available in the current SDK version, mappingType will
return ResourceMappingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from mappingTypeAsString().
The resource is mapped to another application. The name of the application is contained in the
appRegistryAppName property.
The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in
the logicalStackName property.
The resource is mapped to another resource. The name of the resource is contained in the
resourceName property.
The resource is mapped to a resource group. The name of the resource group is contained in the
resourceGroupName property.
ResourceMappingTypepublic final PhysicalResourceId physicalResourceId()
The identifier of this resource.
public final String resourceGroupName()
The name of the resource group this resource is mapped to.
public final String resourceName()
The name of the resource this resource is mapped to.
public ResourceMapping.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourceMapping.Builder,ResourceMapping>public static ResourceMapping.Builder builder()
public static Class<? extends ResourceMapping.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.