Interface Metrics.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Metrics.Builder,,Metrics> SdkBuilder<Metrics.Builder,,Metrics> SdkPojo
- Enclosing class:
Metrics
-
Method Summary
Modifier and TypeMethodDescriptiondefault Metrics.BuildereventThreshold(Consumer<ReplicationTimeValue.Builder> eventThreshold) A container that specifies the time threshold for emitting thes3:Replication:OperationMissedThresholdevent.eventThreshold(ReplicationTimeValue eventThreshold) A container that specifies the time threshold for emitting thes3:Replication:OperationMissedThresholdevent.Specifies whether replication metrics are enabled.status(MetricsStatus status) Specifies whether replication metrics are enabled.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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:
-
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:
-
eventThreshold
A container that specifies the time threshold for emitting the
s3:Replication:OperationMissedThresholdevent.This is not supported by Amazon S3 on Outposts buckets.
- Parameters:
eventThreshold- A container that specifies the time threshold for emitting thes3:Replication:OperationMissedThresholdevent.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.
-
eventThreshold
A container that specifies the time threshold for emitting the
s3:Replication:OperationMissedThresholdevent. This is a convenience method that creates an instance of theThis is not supported by Amazon S3 on Outposts buckets.
ReplicationTimeValue.Builderavoiding the need to create one manually viaReplicationTimeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventThreshold(ReplicationTimeValue).- Parameters:
eventThreshold- a consumer that will call methods onReplicationTimeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-