Class PhysicalResourceId
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PhysicalResourceId.Builder,PhysicalResourceId>
Defines a physical resource identifier.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Amazon Web Services account that owns the physical resource.final StringThe Amazon Web Services Region that the physical resource is located in.static PhysicalResourceId.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringIdentifier of the physical resource.static Class<? extends PhysicalResourceId.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final PhysicalIdentifierTypetype()Specifies the type of physical resource identifier.final StringSpecifies the type of physical resource identifier.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
awsAccountId
The Amazon Web Services account that owns the physical resource.
- Returns:
- The Amazon Web Services account that owns the physical resource.
-
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
Identifier of the physical resource.
- Returns:
- Identifier of the physical resource.
-
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:
-
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:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PhysicalResourceId.Builder,PhysicalResourceId> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-