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, sdkFields
copy
applyMutation, build
Metrics.Builder status(String status)
Specifies whether the replication metrics are enabled.
status
- Specifies whether the replication metrics are enabled.MetricsStatus
,
MetricsStatus
Metrics.Builder status(MetricsStatus status)
Specifies whether the replication metrics are enabled.
status
- Specifies whether the replication metrics are enabled.MetricsStatus
,
MetricsStatus
Metrics.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.Builder
eventThreshold(ReplicationTimeValue)
Copyright © 2019. All rights reserved.