Class ArnTrait

    • Field Detail

      • ID

        public static final ShapeId ID
    • Method Detail

      • isNoAccount

        public boolean isNoAccount()
        Returns:
        Returns the noAccount setting.
      • isNoRegion

        public boolean isNoRegion()
        Returns:
        Returns the noRegion setting.
      • isAbsolute

        public boolean isAbsolute()
        Returns:
        Returns whether or not the ARN is absolute.
      • getTemplate

        public java.lang.String getTemplate()
        Returns:
        Gets the template of the ARN.
      • getLabels

        public java.util.List<java.lang.String> getLabels()
        Returns:
        Returns the label placeholder variable names.
      • getResourceDelimiter

        public java.util.Optional<ArnTrait.ResourceDelimiter> getResourceDelimiter()
        Returns:
        Returns the resource delimiter for absolute ARNs.
      • isReusable

        public boolean isReusable()
        Returns:
        Returns if the ARN may be reused for different instances of a resource.
      • createNode

        protected Node createNode()
        Description copied from class: AbstractTrait
        The result of toNode is used for hashCodes and equality. Subclasses must implement createNode to turn the trait into a Node. This is then cached for subsequent retrievals.
        Specified by:
        createNode in class AbstractTrait
        Returns:
        Returns the trait as a node.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class AbstractTrait