public class DomainSummary
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
autoRenew
Indicates whether the domain is automatically renewed upon expiration.
|
private java.lang.String |
domainName
The name of a domain.
|
private java.util.Date |
expiry
Expiration date of the domain in Coordinated Universal Time (UTC).
|
private java.lang.Boolean |
transferLock
Indicates whether a domain is locked from unauthorized transfer to
another party.
|
Constructor and Description |
---|
DomainSummary() |
Modifier and Type | Method and Description |
---|---|
DomainSummary |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAutoRenew()
Indicates whether the domain is automatically renewed upon expiration.
|
java.lang.String |
getDomainName()
The name of a domain.
|
java.util.Date |
getExpiry()
Expiration date of the domain in Coordinated Universal Time (UTC).
|
java.lang.Boolean |
getTransferLock()
Indicates whether a domain is locked from unauthorized transfer to
another party.
|
int |
hashCode() |
java.lang.Boolean |
isAutoRenew()
Indicates whether the domain is automatically renewed upon expiration.
|
java.lang.Boolean |
isTransferLock()
Indicates whether a domain is locked from unauthorized transfer to
another party.
|
void |
setAutoRenew(java.lang.Boolean autoRenew)
Indicates whether the domain is automatically renewed upon expiration.
|
void |
setDomainName(java.lang.String domainName)
The name of a domain.
|
void |
setExpiry(java.util.Date expiry)
Expiration date of the domain in Coordinated Universal Time (UTC).
|
void |
setTransferLock(java.lang.Boolean transferLock)
Indicates whether a domain is locked from unauthorized transfer to
another party.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DomainSummary |
withAutoRenew(java.lang.Boolean autoRenew)
Indicates whether the domain is automatically renewed upon expiration.
|
DomainSummary |
withDomainName(java.lang.String domainName)
The name of a domain.
|
DomainSummary |
withExpiry(java.util.Date expiry)
Expiration date of the domain in Coordinated Universal Time (UTC).
|
DomainSummary |
withTransferLock(java.lang.Boolean transferLock)
Indicates whether a domain is locked from unauthorized transfer to
another party.
|
private java.lang.String domainName
The name of a domain.
Type: String
private java.lang.Boolean autoRenew
Indicates whether the domain is automatically renewed upon expiration.
Type: Boolean
Valid values: True
| False
private java.lang.Boolean transferLock
Indicates whether a domain is locked from unauthorized transfer to another party.
Type: Boolean
Valid values: True
| False
private java.util.Date expiry
Expiration date of the domain in Coordinated Universal Time (UTC).
Type: Long
public void setDomainName(java.lang.String domainName)
The name of a domain.
Type: String
domainName
- The name of a domain.
Type: String
public java.lang.String getDomainName()
The name of a domain.
Type: String
Type: String
public DomainSummary withDomainName(java.lang.String domainName)
The name of a domain.
Type: String
domainName
- The name of a domain.
Type: String
public void setAutoRenew(java.lang.Boolean autoRenew)
Indicates whether the domain is automatically renewed upon expiration.
Type: Boolean
Valid values: True
| False
autoRenew
- Indicates whether the domain is automatically renewed upon
expiration.
Type: Boolean
Valid values: True
| False
public java.lang.Boolean getAutoRenew()
Indicates whether the domain is automatically renewed upon expiration.
Type: Boolean
Valid values: True
| False
Type: Boolean
Valid values: True
| False
public DomainSummary withAutoRenew(java.lang.Boolean autoRenew)
Indicates whether the domain is automatically renewed upon expiration.
Type: Boolean
Valid values: True
| False
autoRenew
- Indicates whether the domain is automatically renewed upon
expiration.
Type: Boolean
Valid values: True
| False
public java.lang.Boolean isAutoRenew()
Indicates whether the domain is automatically renewed upon expiration.
Type: Boolean
Valid values: True
| False
Type: Boolean
Valid values: True
| False
public void setTransferLock(java.lang.Boolean transferLock)
Indicates whether a domain is locked from unauthorized transfer to another party.
Type: Boolean
Valid values: True
| False
transferLock
- Indicates whether a domain is locked from unauthorized transfer to
another party.
Type: Boolean
Valid values: True
| False
public java.lang.Boolean getTransferLock()
Indicates whether a domain is locked from unauthorized transfer to another party.
Type: Boolean
Valid values: True
| False
Type: Boolean
Valid values: True
| False
public DomainSummary withTransferLock(java.lang.Boolean transferLock)
Indicates whether a domain is locked from unauthorized transfer to another party.
Type: Boolean
Valid values: True
| False
transferLock
- Indicates whether a domain is locked from unauthorized transfer to
another party.
Type: Boolean
Valid values: True
| False
public java.lang.Boolean isTransferLock()
Indicates whether a domain is locked from unauthorized transfer to another party.
Type: Boolean
Valid values: True
| False
Type: Boolean
Valid values: True
| False
public void setExpiry(java.util.Date expiry)
Expiration date of the domain in Coordinated Universal Time (UTC).
Type: Long
expiry
- Expiration date of the domain in Coordinated Universal Time
(UTC).
Type: Long
public java.util.Date getExpiry()
Expiration date of the domain in Coordinated Universal Time (UTC).
Type: Long
Type: Long
public DomainSummary withExpiry(java.util.Date expiry)
Expiration date of the domain in Coordinated Universal Time (UTC).
Type: Long
expiry
- Expiration date of the domain in Coordinated Universal Time
(UTC).
Type: Long
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 DomainSummary clone()
clone
in class java.lang.Object