public class DomainInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains general information about a domain.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
The description of the domain provided through RegisterDomain.
|
private java.lang.String |
name
The name of the domain.
|
private java.lang.String |
status
The status of the domain:
|
Constructor and Description |
---|
DomainInfo() |
Modifier and Type | Method and Description |
---|---|
DomainInfo |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
The description of the domain provided through RegisterDomain.
|
java.lang.String |
getName()
The name of the domain.
|
java.lang.String |
getStatus()
The status of the domain:
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
The description of the domain provided through RegisterDomain.
|
void |
setName(java.lang.String name)
The name of the domain.
|
void |
setStatus(RegistrationStatus status)
The status of the domain:
|
void |
setStatus(java.lang.String status)
The status of the domain:
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DomainInfo |
withDescription(java.lang.String description)
The description of the domain provided through RegisterDomain.
|
DomainInfo |
withName(java.lang.String name)
The name of the domain.
|
DomainInfo |
withStatus(RegistrationStatus status)
The status of the domain:
|
DomainInfo |
withStatus(java.lang.String status)
The status of the domain:
|
private java.lang.String name
The name of the domain. This name is unique within the account.
private java.lang.String status
The status of the domain:
private java.lang.String description
The description of the domain provided through RegisterDomain.
public void setName(java.lang.String name)
The name of the domain. This name is unique within the account.
name
- The name of the domain. This name is unique within the account.public java.lang.String getName()
The name of the domain. This name is unique within the account.
public DomainInfo withName(java.lang.String name)
The name of the domain. This name is unique within the account.
name
- The name of the domain. This name is unique within the account.public void setStatus(java.lang.String status)
The status of the domain:
status
- The status of the domain:
RegistrationStatus
public java.lang.String getStatus()
The status of the domain:
RegistrationStatus
public DomainInfo withStatus(java.lang.String status)
The status of the domain:
status
- The status of the domain:
RegistrationStatus
public void setStatus(RegistrationStatus status)
The status of the domain:
status
- The status of the domain:
RegistrationStatus
public DomainInfo withStatus(RegistrationStatus status)
The status of the domain:
status
- The status of the domain:
RegistrationStatus
public void setDescription(java.lang.String description)
The description of the domain provided through RegisterDomain.
description
- The description of the domain provided through
RegisterDomain.public java.lang.String getDescription()
The description of the domain provided through RegisterDomain.
public DomainInfo withDescription(java.lang.String description)
The description of the domain provided through RegisterDomain.
description
- The description of the domain provided through
RegisterDomain.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DomainInfo clone()
clone
in class java.lang.Object