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 specifying the time threshold for emitting the
s3:Replication:OperationMissedThreshold event. |
Metrics.Builder |
eventThreshold(ReplicationTimeValue eventThreshold)
A container specifying the time threshold for emitting the
s3:Replication:OperationMissedThreshold event. |
Metrics.Builder |
status(MetricsStatus status)
Specifies whether the replication metrics are enabled.
|
Metrics.Builder |
status(String status)
Specifies whether the replication metrics are enabled.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMetrics.Builder status(String status)
Specifies whether the replication metrics are enabled.
status - Specifies whether the replication metrics are enabled.MetricsStatus,
MetricsStatusMetrics.Builder status(MetricsStatus status)
Specifies whether the replication metrics are enabled.
status - Specifies whether the replication metrics are enabled.MetricsStatus,
MetricsStatusMetrics.Builder eventThreshold(ReplicationTimeValue eventThreshold)
A container specifying the time threshold for emitting the
s3:Replication:OperationMissedThreshold event.
eventThreshold - A container specifying the time threshold for emitting the
s3:Replication:OperationMissedThreshold event.default Metrics.Builder eventThreshold(Consumer<ReplicationTimeValue.Builder> eventThreshold)
A container specifying the time threshold for emitting the
s3:Replication:OperationMissedThreshold event.
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 © 2022. All rights reserved.