Class AwsArn
java.lang.Object
software.amazon.smithy.rulesengine.language.impl.AwsArn
- All Implemented Interfaces:
ToSmithyBuilder<AwsArn>
An AWS ARN.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AwsArn.Builder
builder()
boolean
int
hashCode()
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:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<AwsArn>
- Returns:
- a builder for type T
-