Class AwsArn
java.lang.Object
software.amazon.smithy.rulesengine.language.impl.AwsArn
- All Implemented Interfaces:
ToSmithyBuilder<AwsArn>
An AWS ARN.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AwsArn.Builderbuilder()booleaninthashCode()Parses and returns the ARN components if the provided value is a valid AWS ARN.region()resource()service()Take this object and create a builder that contains all of the current property values of this object.toString()
-
Method Details
-
parse
Parses and returns the ARN components if the provided value is a valid AWS ARN.- Parameters:
arn- the value to parse.- Returns:
- the optional ARN.
-
builder
-
partition
-
service
-
region
-
accountId
-
resource
-
hashCode
public int hashCode() -
equals
-
toString
-
toBuilder
Description copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToSmithyBuilder<AwsArn>- Returns:
- a builder for type T
-