@Generated(value="software.amazon.awssdk:codegen") public final class ExternalMetricsPreference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExternalMetricsPreference.Builder,ExternalMetricsPreference>
Describes the external metrics preferences for EC2 rightsizing recommendations.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExternalMetricsPreference.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ExternalMetricsPreference.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExternalMetricsPreference.Builder> |
serializableBuilderClass() |
ExternalMetricsSource |
source()
Contains the source options for external metrics preferences.
|
String |
sourceAsString()
Contains the source options for external metrics preferences.
|
ExternalMetricsPreference.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ExternalMetricsSource source()
Contains the source options for external metrics preferences.
If the service returns an enum value that is not available in the current SDK version, source will
return ExternalMetricsSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sourceAsString().
ExternalMetricsSourcepublic final String sourceAsString()
Contains the source options for external metrics preferences.
If the service returns an enum value that is not available in the current SDK version, source will
return ExternalMetricsSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sourceAsString().
ExternalMetricsSourcepublic ExternalMetricsPreference.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExternalMetricsPreference.Builder,ExternalMetricsPreference>public static ExternalMetricsPreference.Builder builder()
public static Class<? extends ExternalMetricsPreference.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.