public class DomainInfo extends Object implements Serializable, Cloneable
Contains general information about a domain.
Constructor and Description |
---|
DomainInfo() |
Modifier and Type | Method and Description |
---|---|
DomainInfo |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the domain provided through RegisterDomain.
|
String |
getName()
The name of the domain.
|
String |
getStatus()
The status of the domain:
|
int |
hashCode() |
void |
setDescription(String description)
The description of the domain provided through RegisterDomain.
|
void |
setName(String name)
The name of the domain.
|
void |
setStatus(RegistrationStatus status)
The status of the domain:
|
void |
setStatus(String status)
The status of the domain:
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DomainInfo |
withDescription(String description)
The description of the domain provided through RegisterDomain.
|
DomainInfo |
withName(String name)
The name of the domain.
|
DomainInfo |
withStatus(RegistrationStatus status)
The status of the domain:
|
DomainInfo |
withStatus(String status)
The status of the domain:
|
public void setName(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 String getName()
The name of the domain. This name is unique within the account.
public DomainInfo withName(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(String status)
The status of the domain:
status
- The status of the domain:
RegistrationStatus
public String getStatus()
The status of the domain:
RegistrationStatus
public DomainInfo withStatus(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(String description)
The description of the domain provided through RegisterDomain.
description
- The description of the domain provided through RegisterDomain.public String getDescription()
The description of the domain provided through RegisterDomain.
public DomainInfo withDescription(String description)
The description of the domain provided through RegisterDomain.
description
- The description of the domain provided through RegisterDomain.public String toString()
toString
in class Object
Object.toString()
public DomainInfo clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.