@Generated(value="software.amazon.awssdk:codegen") public final class PhysicalResourceId extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PhysicalResourceId.Builder,PhysicalResourceId>
Defines a physical resource identifier.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PhysicalResourceId.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
awsAccountId()
The Amazon Web Services account that owns the physical resource.
|
String |
awsRegion()
The Amazon Web Services Region that the physical resource is located in.
|
static PhysicalResourceId.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
identifier()
Identifier of the physical resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PhysicalResourceId.Builder> |
serializableBuilderClass() |
PhysicalResourceId.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
PhysicalIdentifierType |
type()
Specifies the type of physical resource identifier.
|
String |
typeAsString()
Specifies the type of physical resource identifier.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String awsAccountId()
The Amazon Web Services account that owns the physical resource.
public final String awsRegion()
The Amazon Web Services Region that the physical resource is located in.
public final String identifier()
Identifier of the physical resource.
public final PhysicalIdentifierType type()
Specifies the type of physical resource identifier.
The resource identifier is an Amazon Resource Name (ARN) and it can identify the following list of resources:
AWS::ECS::Service
AWS::EFS::FileSystem
AWS::ElasticLoadBalancingV2::LoadBalancer
AWS::Lambda::Function
AWS::SNS::Topic
The resource identifier is an Resilience Hub-native identifier and it can identify the following list of resources:
AWS::ApiGateway::RestApi
AWS::ApiGatewayV2::Api
AWS::AutoScaling::AutoScalingGroup
AWS::DocDB::DBCluster
AWS::DocDB::DBGlobalCluster
AWS::DocDB::DBInstance
AWS::DynamoDB::GlobalTable
AWS::DynamoDB::Table
AWS::EC2::EC2Fleet
AWS::EC2::Instance
AWS::EC2::NatGateway
AWS::EC2::Volume
AWS::ElasticLoadBalancing::LoadBalancer
AWS::RDS::DBCluster
AWS::RDS::DBInstance
AWS::RDS::GlobalCluster
AWS::Route53::RecordSet
AWS::S3::Bucket
AWS::SQS::Queue
If the service returns an enum value that is not available in the current SDK version, type will return
PhysicalIdentifierType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
The resource identifier is an Amazon Resource Name (ARN) and it can identify the following list of resources:
AWS::ECS::Service
AWS::EFS::FileSystem
AWS::ElasticLoadBalancingV2::LoadBalancer
AWS::Lambda::Function
AWS::SNS::Topic
The resource identifier is an Resilience Hub-native identifier and it can identify the following list of resources:
AWS::ApiGateway::RestApi
AWS::ApiGatewayV2::Api
AWS::AutoScaling::AutoScalingGroup
AWS::DocDB::DBCluster
AWS::DocDB::DBGlobalCluster
AWS::DocDB::DBInstance
AWS::DynamoDB::GlobalTable
AWS::DynamoDB::Table
AWS::EC2::EC2Fleet
AWS::EC2::Instance
AWS::EC2::NatGateway
AWS::EC2::Volume
AWS::ElasticLoadBalancing::LoadBalancer
AWS::RDS::DBCluster
AWS::RDS::DBInstance
AWS::RDS::GlobalCluster
AWS::Route53::RecordSet
AWS::S3::Bucket
AWS::SQS::Queue
PhysicalIdentifierTypepublic final String typeAsString()
Specifies the type of physical resource identifier.
The resource identifier is an Amazon Resource Name (ARN) and it can identify the following list of resources:
AWS::ECS::Service
AWS::EFS::FileSystem
AWS::ElasticLoadBalancingV2::LoadBalancer
AWS::Lambda::Function
AWS::SNS::Topic
The resource identifier is an Resilience Hub-native identifier and it can identify the following list of resources:
AWS::ApiGateway::RestApi
AWS::ApiGatewayV2::Api
AWS::AutoScaling::AutoScalingGroup
AWS::DocDB::DBCluster
AWS::DocDB::DBGlobalCluster
AWS::DocDB::DBInstance
AWS::DynamoDB::GlobalTable
AWS::DynamoDB::Table
AWS::EC2::EC2Fleet
AWS::EC2::Instance
AWS::EC2::NatGateway
AWS::EC2::Volume
AWS::ElasticLoadBalancing::LoadBalancer
AWS::RDS::DBCluster
AWS::RDS::DBInstance
AWS::RDS::GlobalCluster
AWS::Route53::RecordSet
AWS::S3::Bucket
AWS::SQS::Queue
If the service returns an enum value that is not available in the current SDK version, type will return
PhysicalIdentifierType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
The resource identifier is an Amazon Resource Name (ARN) and it can identify the following list of resources:
AWS::ECS::Service
AWS::EFS::FileSystem
AWS::ElasticLoadBalancingV2::LoadBalancer
AWS::Lambda::Function
AWS::SNS::Topic
The resource identifier is an Resilience Hub-native identifier and it can identify the following list of resources:
AWS::ApiGateway::RestApi
AWS::ApiGatewayV2::Api
AWS::AutoScaling::AutoScalingGroup
AWS::DocDB::DBCluster
AWS::DocDB::DBGlobalCluster
AWS::DocDB::DBInstance
AWS::DynamoDB::GlobalTable
AWS::DynamoDB::Table
AWS::EC2::EC2Fleet
AWS::EC2::Instance
AWS::EC2::NatGateway
AWS::EC2::Volume
AWS::ElasticLoadBalancing::LoadBalancer
AWS::RDS::DBCluster
AWS::RDS::DBInstance
AWS::RDS::GlobalCluster
AWS::Route53::RecordSet
AWS::S3::Bucket
AWS::SQS::Queue
PhysicalIdentifierTypepublic PhysicalResourceId.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PhysicalResourceId.Builder,PhysicalResourceId>public static PhysicalResourceId.Builder builder()
public static Class<? extends PhysicalResourceId.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.