Class PutBucketMetricsConfigurationRequest

    • Method Detail

      • bucket

        public final String bucket()

        The name of the bucket for which the metrics configuration is set.

        Returns:
        The name of the bucket for which the metrics configuration is set.
      • id

        public final String id()

        The ID used to identify the metrics configuration. The ID has a 64 character limit and can only contain letters, numbers, periods, dashes, and underscores.

        Returns:
        The ID used to identify the metrics configuration. The ID has a 64 character limit and can only contain letters, numbers, periods, dashes, and underscores.
      • metricsConfiguration

        public final MetricsConfiguration metricsConfiguration()

        Specifies the metrics configuration.

        Returns:
        Specifies the metrics configuration.
      • expectedBucketOwner

        public final String expectedBucketOwner()

        The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

        Returns:
        The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).
      • 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