Class R53HostedZoneDeletionState
- java.lang.Object
-
- software.amazon.awssdk.services.lightsail.model.R53HostedZoneDeletionState
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<R53HostedZoneDeletionState.Builder,R53HostedZoneDeletionState>
@Generated("software.amazon.awssdk:codegen") public final class R53HostedZoneDeletionState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<R53HostedZoneDeletionState.Builder,R53HostedZoneDeletionState>
Describes the deletion state of an Amazon RouteĀ 53 hosted zone for a domain that is being automatically delegated to an Amazon Lightsail DNS zone.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceR53HostedZoneDeletionState.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static R53HostedZoneDeletionState.Builderbuilder()R53HostedZoneDeletionStateCodecode()The status code for the deletion state.StringcodeAsString()The status code for the deletion state.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()The message that describes the reason for the status code.List<SdkField<?>>sdkFields()static Class<? extends R53HostedZoneDeletionState.Builder>serializableBuilderClass()R53HostedZoneDeletionState.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
-
code
public final R53HostedZoneDeletionStateCode code()
The status code for the deletion state.
Following are the possible values:
-
SUCCEEDED- The hosted zone was successfully deleted. -
PENDING- The hosted zone deletion is in progress. -
FAILED- The hosted zone deletion failed. -
STARTED- The hosted zone deletion started.
If the service returns an enum value that is not available in the current SDK version,
codewill returnR53HostedZoneDeletionStateCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodeAsString().- Returns:
- The status code for the deletion state.
Following are the possible values:
-
SUCCEEDED- The hosted zone was successfully deleted. -
PENDING- The hosted zone deletion is in progress. -
FAILED- The hosted zone deletion failed. -
STARTED- The hosted zone deletion started.
-
- See Also:
R53HostedZoneDeletionStateCode
-
-
codeAsString
public final String codeAsString()
The status code for the deletion state.
Following are the possible values:
-
SUCCEEDED- The hosted zone was successfully deleted. -
PENDING- The hosted zone deletion is in progress. -
FAILED- The hosted zone deletion failed. -
STARTED- The hosted zone deletion started.
If the service returns an enum value that is not available in the current SDK version,
codewill returnR53HostedZoneDeletionStateCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodeAsString().- Returns:
- The status code for the deletion state.
Following are the possible values:
-
SUCCEEDED- The hosted zone was successfully deleted. -
PENDING- The hosted zone deletion is in progress. -
FAILED- The hosted zone deletion failed. -
STARTED- The hosted zone deletion started.
-
- See Also:
R53HostedZoneDeletionStateCode
-
-
message
public final String message()
The message that describes the reason for the status code.
- Returns:
- The message that describes the reason for the status code.
-
toBuilder
public R53HostedZoneDeletionState.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<R53HostedZoneDeletionState.Builder,R53HostedZoneDeletionState>
-
builder
public static R53HostedZoneDeletionState.Builder builder()
-
serializableBuilderClass
public static Class<? extends R53HostedZoneDeletionState.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.
-
-