public class DomainInfo extends Object implements Serializable
Contains general information about a domain.
Constructor and Description |
---|
DomainInfo() |
Modifier and Type | Method and Description |
---|---|
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: REGISTERED: The domain is
properly registered and available.
|
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: REGISTERED: The domain is
properly registered and available.
|
void |
setStatus(String status)
The status of the domain: REGISTERED: The domain is
properly registered and available.
|
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: REGISTERED: The domain is
properly registered and available.
|
DomainInfo |
withStatus(String status)
The status of the domain: REGISTERED: The domain is
properly registered and available.
|
public String getName()
Constraints:
Length: 1 - 256
public void setName(String name)
Constraints:
Length: 1 - 256
name
- The name of the domain. This name is unique within the account.public DomainInfo withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
name
- The name of the domain. This name is unique within the account.public String getStatus()
Constraints:
Allowed Values: REGISTERED, DEPRECATED
RegistrationStatus
public void setStatus(String status)
Constraints:
Allowed Values: REGISTERED, DEPRECATED
status
- The status of the domain: RegistrationStatus
public DomainInfo withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: REGISTERED, DEPRECATED
status
- The status of the domain: RegistrationStatus
public void setStatus(RegistrationStatus status)
Constraints:
Allowed Values: REGISTERED, DEPRECATED
status
- The status of the domain: RegistrationStatus
public DomainInfo withStatus(RegistrationStatus status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: REGISTERED, DEPRECATED
status
- The status of the domain: RegistrationStatus
public String getDescription()
Constraints:
Length: 0 - 1024
public void setDescription(String description)
Constraints:
Length: 0 - 1024
description
- The description of the domain provided through RegisterDomain.public DomainInfo withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
description
- The description of the domain provided through RegisterDomain.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.