Class GetArnResult


  • public final class GetArnResult
    extends java.lang.Object
    • Method Detail

      • account

        public java.lang.String account()
        Returns:
        The [ID](https://docs.aws.amazon.com/general/latest/gr/acct-identifiers.html) of the AWS account that owns the resource, without the hyphens.
      • arn

        public java.lang.String arn()
      • id

        public java.lang.String id()
      • partition

        public java.lang.String partition()
        Returns:
        Partition that the resource is in.
      • region

        public java.lang.String region()
        Returns:
        Region the resource resides in. Note that the ARNs for some resources do not require a region, so this component might be omitted.
      • resource

        public java.lang.String resource()
        Returns:
        Content of this part of the ARN varies by service. It often includes an indicator of the type of resource—for example, an IAM user or Amazon RDS database —followed by a slash (/) or a colon (:), followed by the resource name itself.
      • service

        public java.lang.String service()
        Returns:
        The [service namespace](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) that identifies the AWS product.