Class HeadBucketResponse

    • Method Detail

      • bucketLocationType

        public final LocationType bucketLocationType()

        The type of location where the bucket is created.

        This functionality is only supported by directory buckets.

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

        Returns:
        The type of location where the bucket is created.

        This functionality is only supported by directory buckets.

        See Also:
        LocationType
      • bucketLocationTypeAsString

        public final String bucketLocationTypeAsString()

        The type of location where the bucket is created.

        This functionality is only supported by directory buckets.

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

        Returns:
        The type of location where the bucket is created.

        This functionality is only supported by directory buckets.

        See Also:
        LocationType
      • bucketLocationName

        public final String bucketLocationName()

        The name of the location where the bucket will be created.

        For directory buckets, the AZ ID of the Availability Zone where the bucket is created. An example AZ ID value is usw2-az1.

        This functionality is only supported by directory buckets.

        Returns:
        The name of the location where the bucket will be created.

        For directory buckets, the AZ ID of the Availability Zone where the bucket is created. An example AZ ID value is usw2-az1.

        This functionality is only supported by directory buckets.

      • bucketRegion

        public final String bucketRegion()

        The Region that the bucket is located.

        This functionality is not supported for directory buckets.

        Returns:
        The Region that the bucket is located.

        This functionality is not supported for directory buckets.

      • accessPointAlias

        public final Boolean accessPointAlias()

        Indicates whether the bucket name used in the request is an access point alias.

        This functionality is not supported for directory buckets.

        Returns:
        Indicates whether the bucket name used in the request is an access point alias.

        This functionality is not supported for directory buckets.

      • 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