Class AccessPoint

    • Method Detail

      • name

        public final String name()

        The name of this access point.

        Returns:
        The name of this access point.
      • networkOrigin

        public final NetworkOrigin networkOrigin()

        Indicates whether this access point allows access from the public internet. If VpcConfiguration is specified for this access point, then NetworkOrigin is VPC, and the access point doesn't allow access from the public internet. Otherwise, NetworkOrigin is Internet, and the access point allows access from the public internet, subject to the access point and bucket access policies.

        If the service returns an enum value that is not available in the current SDK version, networkOrigin will return NetworkOrigin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from networkOriginAsString().

        Returns:
        Indicates whether this access point allows access from the public internet. If VpcConfiguration is specified for this access point, then NetworkOrigin is VPC, and the access point doesn't allow access from the public internet. Otherwise, NetworkOrigin is Internet, and the access point allows access from the public internet, subject to the access point and bucket access policies.
        See Also:
        NetworkOrigin
      • networkOriginAsString

        public final String networkOriginAsString()

        Indicates whether this access point allows access from the public internet. If VpcConfiguration is specified for this access point, then NetworkOrigin is VPC, and the access point doesn't allow access from the public internet. Otherwise, NetworkOrigin is Internet, and the access point allows access from the public internet, subject to the access point and bucket access policies.

        If the service returns an enum value that is not available in the current SDK version, networkOrigin will return NetworkOrigin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from networkOriginAsString().

        Returns:
        Indicates whether this access point allows access from the public internet. If VpcConfiguration is specified for this access point, then NetworkOrigin is VPC, and the access point doesn't allow access from the public internet. Otherwise, NetworkOrigin is Internet, and the access point allows access from the public internet, subject to the access point and bucket access policies.
        See Also:
        NetworkOrigin
      • vpcConfiguration

        public final VpcConfiguration vpcConfiguration()

        The virtual private cloud (VPC) configuration for this access point, if one exists.

        This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.

        Returns:
        The virtual private cloud (VPC) configuration for this access point, if one exists.

        This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.

      • bucket

        public final String bucket()

        The name of the bucket associated with this access point.

        Returns:
        The name of the bucket associated with this access point.
      • accessPointArn

        public final String accessPointArn()

        The ARN for the access point.

        Returns:
        The ARN for the access point.
      • alias

        public final String alias()

        The name or alias of the access point.

        Returns:
        The name or alias of the access point.
      • bucketAccountId

        public final String bucketAccountId()

        The Amazon Web Services account ID associated with the S3 bucket associated with this access point.

        Returns:
        The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)