Class GetAccessPointResponse

    • Method Detail

      • name

        public final String name()

        The name of the specified access point.

        Returns:
        The name of the specified access point.
      • bucket

        public final String bucket()

        The name of the bucket associated with the specified access point.

        Returns:
        The name of the bucket associated with the specified 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.

        This will always be true for an Amazon S3 on Outposts access point

        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.

        This will always be true for an Amazon S3 on Outposts access point

        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.

        This will always be true for an Amazon S3 on Outposts access point

        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.

        This will always be true for an Amazon S3 on Outposts access point

        See Also:
        NetworkOrigin
      • vpcConfiguration

        public final VpcConfiguration vpcConfiguration()

        Contains the virtual private cloud (VPC) configuration for the specified access point.

        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:
        Contains the virtual private cloud (VPC) configuration for the specified access point.

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

      • publicAccessBlockConfiguration

        public final PublicAccessBlockConfiguration publicAccessBlockConfiguration()
        Returns the value of the PublicAccessBlockConfiguration property for this object.
        Returns:
        The value of the PublicAccessBlockConfiguration property for this object.
      • creationDate

        public final Instant creationDate()

        The date and time when the specified access point was created.

        Returns:
        The date and time when the specified access point was created.
      • alias

        public final String alias()

        The name or alias of the access point.

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

        public final String accessPointArn()

        The ARN of the access point.

        Returns:
        The ARN of the access point.
      • hasEndpoints

        public final boolean hasEndpoints()
        For responses, this returns true if the service returned a value for the Endpoints property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • endpoints

        public final Map<String,​String> endpoints()

        The VPC endpoint for the access point.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasEndpoints() method.

        Returns:
        The VPC endpoint for 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.
      • 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