Class NameServersUpdateState
- java.lang.Object
-
- software.amazon.awssdk.services.lightsail.model.NameServersUpdateState
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NameServersUpdateState.Builder,NameServersUpdateState>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNameServersUpdateState.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NameServersUpdateState.Builderbuilder()NameServersUpdateStateCodecode()The status code for the name servers update.StringcodeAsString()The status code for the name servers update.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 NameServersUpdateState.Builder>serializableBuilderClass()NameServersUpdateState.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 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,
codewill returnNameServersUpdateStateCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodeAsString().- Returns:
- 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.
-
- See Also:
NameServersUpdateStateCode
-
-
codeAsString
public 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,
codewill returnNameServersUpdateStateCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodeAsString().- Returns:
- 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.
-
- See Also:
NameServersUpdateStateCode
-
-
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 NameServersUpdateState.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NameServersUpdateState.Builder,NameServersUpdateState>
-
builder
public static NameServersUpdateState.Builder builder()
-
serializableBuilderClass
public static Class<? extends NameServersUpdateState.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.
-
-