Interface ArnConverter<T extends AwsResource>

  • Type Parameters:
    T - The service specific representation of AwsResource.
    All Known Implementing Classes:
    S3ArnConverter
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ArnConverter<T extends AwsResource>
    An interface for converting an AWS ARN into a service specific AwsResource. Services that model their own AWS resources will provide a specific implementation of this ARN parser.

    • Method Detail

      • convertArn

        T convertArn​(Arn arn)
        Converts an AWS ARN into a service specific AwsResource.
        Parameters:
        arn - The ARN to convert.
        Returns:
        A service specific AwsResource.