Class Metrics
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Metrics.Builder,Metrics>
A container specifying replication metrics-related settings enabling replication metrics and events.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Metrics.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final ReplicationTimeValueA container specifying the time threshold for emitting thes3:Replication:OperationMissedThresholdevent.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends Metrics.Builder>final MetricsStatusstatus()Specifies whether the replication metrics are enabled.final StringSpecifies whether the replication metrics are enabled.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
status
Specifies whether the replication metrics are enabled.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnMetricsStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Specifies whether the replication metrics are enabled.
- See Also:
-
statusAsString
Specifies whether the replication metrics are enabled.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnMetricsStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Specifies whether the replication metrics are enabled.
- See Also:
-
eventThreshold
A container specifying the time threshold for emitting the
s3:Replication:OperationMissedThresholdevent.- Returns:
- A container specifying the time threshold for emitting the
s3:Replication:OperationMissedThresholdevent.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<Metrics.Builder,Metrics>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-