@Generated(value="software.amazon.awssdk:codegen") public final class NameServersUpdateState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NameServersUpdateState.Builder,NameServersUpdateState>
Describes the state of the name server records update made by Amazon Lightsail to an Amazon RouteĀ 53 registered domain.
For more information, see DNS in Amazon Lightsail in the Amazon Lightsail Developer Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NameServersUpdateState.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NameServersUpdateState.Builder |
builder() |
NameServersUpdateStateCode |
code()
The status code for the name servers update.
|
String |
codeAsString()
The status code for the name servers update.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
The message that describes the reason for the status code.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NameServersUpdateState.Builder> |
serializableBuilderClass() |
NameServersUpdateState.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final NameServersUpdateStateCode code()
The status code for the name servers update.
Following are the possible values:
SUCCEEDED - The name server records were successfully updated.
PENDING - The name server record update is in progress.
FAILED - The name server record update failed.
STARTED - The automatic name server record update started.
If the service returns an enum value that is not available in the current SDK version, code will return
NameServersUpdateStateCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from codeAsString().
Following are the possible values:
SUCCEEDED - The name server records were successfully updated.
PENDING - The name server record update is in progress.
FAILED - The name server record update failed.
STARTED - The automatic name server record update started.
NameServersUpdateStateCodepublic final String codeAsString()
The status code for the name servers update.
Following are the possible values:
SUCCEEDED - The name server records were successfully updated.
PENDING - The name server record update is in progress.
FAILED - The name server record update failed.
STARTED - The automatic name server record update started.
If the service returns an enum value that is not available in the current SDK version, code will return
NameServersUpdateStateCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from codeAsString().
Following are the possible values:
SUCCEEDED - The name server records were successfully updated.
PENDING - The name server record update is in progress.
FAILED - The name server record update failed.
STARTED - The automatic name server record update started.
NameServersUpdateStateCodepublic final String message()
The message that describes the reason for the status code.
public NameServersUpdateState.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NameServersUpdateState.Builder,NameServersUpdateState>public static NameServersUpdateState.Builder builder()
public static Class<? extends NameServersUpdateState.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.