Class AdministrativeOverride
- java.lang.Object
-
- software.amazon.awssdk.services.elasticloadbalancingv2.model.AdministrativeOverride
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AdministrativeOverride.Builder,AdministrativeOverride>
@Generated("software.amazon.awssdk:codegen") public final class AdministrativeOverride extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AdministrativeOverride.Builder,AdministrativeOverride>
Information about the override status applied to a target.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AdministrativeOverride.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdministrativeOverride.Builder
builder()
String
description()
A description of the override state that provides additional details.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
TargetAdministrativeOverrideReasonEnum
reason()
The reason code for the state.String
reasonAsString()
The reason code for the state.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends AdministrativeOverride.Builder>
serializableBuilderClass()
TargetAdministrativeOverrideStateEnum
state()
The state of the override.String
stateAsString()
The state of the override.AdministrativeOverride.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
state
public final TargetAdministrativeOverrideStateEnum state()
The state of the override.
If the service returns an enum value that is not available in the current SDK version,
state
will returnTargetAdministrativeOverrideStateEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- The state of the override.
- See Also:
TargetAdministrativeOverrideStateEnum
-
stateAsString
public final String stateAsString()
The state of the override.
If the service returns an enum value that is not available in the current SDK version,
state
will returnTargetAdministrativeOverrideStateEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- The state of the override.
- See Also:
TargetAdministrativeOverrideStateEnum
-
reason
public final TargetAdministrativeOverrideReasonEnum reason()
The reason code for the state.
If the service returns an enum value that is not available in the current SDK version,
reason
will returnTargetAdministrativeOverrideReasonEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromreasonAsString()
.- Returns:
- The reason code for the state.
- See Also:
TargetAdministrativeOverrideReasonEnum
-
reasonAsString
public final String reasonAsString()
The reason code for the state.
If the service returns an enum value that is not available in the current SDK version,
reason
will returnTargetAdministrativeOverrideReasonEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromreasonAsString()
.- Returns:
- The reason code for the state.
- See Also:
TargetAdministrativeOverrideReasonEnum
-
description
public final String description()
A description of the override state that provides additional details.
- Returns:
- A description of the override state that provides additional details.
-
toBuilder
public AdministrativeOverride.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AdministrativeOverride.Builder,AdministrativeOverride>
-
builder
public static AdministrativeOverride.Builder builder()
-
serializableBuilderClass
public static Class<? extends AdministrativeOverride.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-