public static interface Metrics.Builder extends SdkPojo, CopyableBuilder<Metrics.Builder,Metrics>
| Modifier and Type | Method and Description |
|---|---|
default Metrics.Builder |
eventThreshold(Consumer<ReplicationTimeValue.Builder> eventThreshold)
A container that specifies the time threshold for emitting the
s3:Replication:OperationMissedThreshold event. |
Metrics.Builder |
eventThreshold(ReplicationTimeValue eventThreshold)
A container that specifies the time threshold for emitting the
s3:Replication:OperationMissedThreshold event. |
Metrics.Builder |
status(MetricsStatus status)
Specifies whether replication metrics are enabled.
|
Metrics.Builder |
status(String status)
Specifies whether replication metrics are enabled.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMetrics.Builder status(String status)
Specifies whether replication metrics are enabled.
status - Specifies whether replication metrics are enabled.MetricsStatus,
MetricsStatusMetrics.Builder status(MetricsStatus status)
Specifies whether replication metrics are enabled.
status - Specifies whether replication metrics are enabled.MetricsStatus,
MetricsStatusMetrics.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.
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.
default Metrics.Builder eventThreshold(Consumer<ReplicationTimeValue.Builder> 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.
ReplicationTimeValue.Builder
avoiding the need to create one manually via ReplicationTimeValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to eventThreshold(ReplicationTimeValue).
eventThreshold - a consumer that will call methods on ReplicationTimeValue.BuildereventThreshold(ReplicationTimeValue)Copyright © 2023. All rights reserved.