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 interfaceAdministrativeOverride.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdministrativeOverride.Builderbuilder()Stringdescription()A description of the override state that provides additional details.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()TargetAdministrativeOverrideReasonEnumreason()The reason code for the state.StringreasonAsString()The reason code for the state.List<SdkField<?>>sdkFields()static Class<? extends AdministrativeOverride.Builder>serializableBuilderClass()TargetAdministrativeOverrideStateEnumstate()The state of the override.StringstateAsString()The state of the override.AdministrativeOverride.BuildertoBuilder()StringtoString()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,
statewill 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,
statewill 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,
reasonwill 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,
reasonwill 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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
-