Class S3OutpostResource

    • Method Detail

      • builder

        public static S3OutpostResource.Builder builder()
        Get a new builder for this class.
        Returns:
        A newly initialized instance of a builder.
      • type

        public String type()
        Gets the resource type for this access point.
        Specified by:
        type in interface S3Resource
        Returns:
        This will always return "accesspoint".
      • partition

        public Optional<String> partition()
        Gets the AWS partition name associated with this access point (e.g.: 'aws').
        Specified by:
        partition in interface AwsResource
        Returns:
        the name of the partition.
      • region

        public Optional<String> region()
        Gets the AWS region name associated with this bucket (e.g.: 'us-east-1').
        Specified by:
        region in interface AwsResource
        Returns:
        the name of the region.
      • accountId

        public Optional<String> accountId()
        Gets the AWS account ID associated with this bucket.
        Specified by:
        accountId in interface AwsResource
        Returns:
        the AWS account ID.
      • outpostId

        public String outpostId()
        Gets the outpost ID
        Returns:
        the outpost ID.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object