Class PhysicalResourceId
- java.lang.Object
-
- software.amazon.awssdk.services.resiliencehub.model.PhysicalResourceId
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PhysicalResourceId.Builder,PhysicalResourceId>
@Generated("software.amazon.awssdk:codegen") public final class PhysicalResourceId extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PhysicalResourceId.Builder,PhysicalResourceId>
Defines a physical resource identifier.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePhysicalResourceId.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringawsAccountId()The Amazon Web Services account that owns the physical resource.StringawsRegion()The Amazon Web Services Region that the physical resource is located in.static PhysicalResourceId.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringidentifier()Identifier of the physical resource.List<SdkField<?>>sdkFields()static Class<? extends PhysicalResourceId.Builder>serializableBuilderClass()PhysicalResourceId.BuildertoBuilder()StringtoString()Returns a string representation of this object.PhysicalIdentifierTypetype()Specifies the type of physical resource identifier.StringtypeAsString()Specifies the type of physical resource identifier.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
awsAccountId
public final String awsAccountId()
The Amazon Web Services account that owns the physical resource.
- Returns:
- The Amazon Web Services account that owns the physical resource.
-
awsRegion
public final String awsRegion()
The Amazon Web Services Region that the physical resource is located in.
- Returns:
- The Amazon Web Services Region that the physical resource is located in.
-
identifier
public final String identifier()
Identifier of the physical resource.
- Returns:
- Identifier of the physical resource.
-
type
public final PhysicalIdentifierType type()
Specifies the type of physical resource identifier.
- Arn
-
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
-
- Native
-
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,
typewill returnPhysicalIdentifierType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specifies the type of physical resource identifier.
- Arn
-
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
-
- Native
-
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
-
- See Also:
PhysicalIdentifierType
-
typeAsString
public final String typeAsString()
Specifies the type of physical resource identifier.
- Arn
-
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
-
- Native
-
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,
typewill returnPhysicalIdentifierType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specifies the type of physical resource identifier.
- Arn
-
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
-
- Native
-
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
-
- See Also:
PhysicalIdentifierType
-
toBuilder
public PhysicalResourceId.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PhysicalResourceId.Builder,PhysicalResourceId>
-
builder
public static PhysicalResourceId.Builder builder()
-
serializableBuilderClass
public static Class<? extends PhysicalResourceId.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-