@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DomainSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about a domain, including its name, Amazon Resource Name (ARN), and status. The ListDomains operation
returns a list of DomainSummary objects.
| Constructor and Description |
|---|
DomainSummary() |
| Modifier and Type | Method and Description |
|---|---|
DomainSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the domain.
|
Date |
getCreatedTime()
A timestamp that contains the date and time the domain was created.
|
String |
getEncryptionKey()
The key used to encrypt the domain.
|
String |
getName()
The name of the domain.
|
String |
getOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
String |
getStatus()
A string that contains the status of the domain.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The ARN of the domain.
|
void |
setCreatedTime(Date createdTime)
A timestamp that contains the date and time the domain was created.
|
void |
setEncryptionKey(String encryptionKey)
The key used to encrypt the domain.
|
void |
setName(String name)
The name of the domain.
|
void |
setOwner(String owner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
void |
setStatus(String status)
A string that contains the status of the domain.
|
String |
toString()
Returns a string representation of this object.
|
DomainSummary |
withArn(String arn)
The ARN of the domain.
|
DomainSummary |
withCreatedTime(Date createdTime)
A timestamp that contains the date and time the domain was created.
|
DomainSummary |
withEncryptionKey(String encryptionKey)
The key used to encrypt the domain.
|
DomainSummary |
withName(String name)
The name of the domain.
|
DomainSummary |
withOwner(String owner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
DomainSummary |
withStatus(DomainStatus status)
A string that contains the status of the domain.
|
DomainSummary |
withStatus(String status)
A string that contains the status of the domain.
|
public void setName(String name)
The name of the domain.
name - The name of the domain.public String getName()
The name of the domain.
public DomainSummary withName(String name)
The name of the domain.
name - The name of the domain.public void setOwner(String owner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
owner - The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public String getOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
public DomainSummary withOwner(String owner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
owner - The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public void setArn(String arn)
The ARN of the domain.
arn - The ARN of the domain.public String getArn()
The ARN of the domain.
public DomainSummary withArn(String arn)
The ARN of the domain.
arn - The ARN of the domain.public void setStatus(String status)
A string that contains the status of the domain.
status - A string that contains the status of the domain.DomainStatuspublic String getStatus()
A string that contains the status of the domain.
DomainStatuspublic DomainSummary withStatus(String status)
A string that contains the status of the domain.
status - A string that contains the status of the domain.DomainStatuspublic DomainSummary withStatus(DomainStatus status)
A string that contains the status of the domain.
status - A string that contains the status of the domain.DomainStatuspublic void setCreatedTime(Date createdTime)
A timestamp that contains the date and time the domain was created.
createdTime - A timestamp that contains the date and time the domain was created.public Date getCreatedTime()
A timestamp that contains the date and time the domain was created.
public DomainSummary withCreatedTime(Date createdTime)
A timestamp that contains the date and time the domain was created.
createdTime - A timestamp that contains the date and time the domain was created.public void setEncryptionKey(String encryptionKey)
The key used to encrypt the domain.
encryptionKey - The key used to encrypt the domain.public String getEncryptionKey()
The key used to encrypt the domain.
public DomainSummary withEncryptionKey(String encryptionKey)
The key used to encrypt the domain.
encryptionKey - The key used to encrypt the domain.public String toString()
toString in class ObjectObject.toString()public DomainSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.