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 Zone ID of the Availability Zone or the Local Zone where the bucket is created. An example Zone ID value for an Availability Zone 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 Zone ID of the Availability Zone or the Local Zone where the bucket is created. An example Zone ID value for an Availability Zone is usw2-az1.

        This functionality is only supported by directory buckets.

      • bucketRegion

        public final String bucketRegion()

        The Region that the bucket is located.

        Returns:
        The Region that the bucket is located.
      • accessPointAlias

        public final Boolean accessPointAlias()

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

        For directory buckets, the value of this field is false.

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

        For directory buckets, the value of this field is false.

      • 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