@Generated(value="software.amazon.awssdk:codegen") public final class Monitoring extends Object implements ToCopyableBuilder<Monitoring.Builder,Monitoring>
Describes the monitoring of an instance.
Modifier and Type | Class and Description |
---|---|
static interface |
Monitoring.Builder |
Modifier and Type | Method and Description |
---|---|
static Monitoring.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends Monitoring.Builder> |
serializableBuilderClass() |
MonitoringState |
state()
Indicates whether detailed monitoring is enabled.
|
String |
stateAsString()
Indicates whether detailed monitoring is enabled.
|
Monitoring.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public MonitoringState state()
Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
If the service returns an enum value that is not available in the current SDK version, state
will return
MonitoringState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
MonitoringState
public String stateAsString()
Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
If the service returns an enum value that is not available in the current SDK version, state
will return
MonitoringState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
MonitoringState
public Monitoring.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Monitoring.Builder,Monitoring>
public static Monitoring.Builder builder()
public static Class<? extends Monitoring.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.