Interface Metrics.Builder

    • Method Detail

      • status

        Metrics.Builder status​(String status)

        Specifies whether replication metrics are enabled.

        Parameters:
        status - Specifies whether replication metrics are enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MetricsStatus, MetricsStatus
      • status

        Metrics.Builder status​(MetricsStatus status)

        Specifies whether replication metrics are enabled.

        Parameters:
        status - Specifies whether replication metrics are enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MetricsStatus, MetricsStatus
      • eventThreshold

        Metrics.Builder eventThreshold​(ReplicationTimeValue eventThreshold)

        A container that specifies the time threshold for emitting the s3:Replication:OperationMissedThreshold event.

        This is not supported by Amazon S3 on Outposts buckets.

        Parameters:
        eventThreshold - A container that specifies the time threshold for emitting the s3:Replication:OperationMissedThreshold event.

        This is not supported by Amazon S3 on Outposts buckets.

        Returns:
        Returns a reference to this object so that method calls can be chained together.