@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class R53HostedZoneDeletionState extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
R53HostedZoneDeletionState() |
Modifier and Type | Method and Description |
---|---|
R53HostedZoneDeletionState |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The status code for the deletion state.
|
String |
getMessage()
The message that describes the reason for the status code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The status code for the deletion state.
|
void |
setMessage(String message)
The message that describes the reason for the status code.
|
String |
toString()
Returns a string representation of this object.
|
R53HostedZoneDeletionState |
withCode(R53HostedZoneDeletionStateCode code)
The status code for the deletion state.
|
R53HostedZoneDeletionState |
withCode(String code)
The status code for the deletion state.
|
R53HostedZoneDeletionState |
withMessage(String message)
The message that describes the reason for the status code.
|
public void setCode(String 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.
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.
R53HostedZoneDeletionStateCode
public String getCode()
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.
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.
R53HostedZoneDeletionStateCode
public R53HostedZoneDeletionState withCode(String 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.
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.
R53HostedZoneDeletionStateCode
public R53HostedZoneDeletionState withCode(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.
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.
R53HostedZoneDeletionStateCode
public void setMessage(String message)
The message that describes the reason for the status code.
message
- The message that describes the reason for the status code.public String getMessage()
The message that describes the reason for the status code.
public R53HostedZoneDeletionState withMessage(String message)
The message that describes the reason for the status code.
message
- The message that describes the reason for the status code.public String toString()
toString
in class Object
Object.toString()
public R53HostedZoneDeletionState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.