@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MailDomainSummary extends Object implements Serializable, Cloneable, StructuredPojo
The data for a given domain.
Constructor and Description |
---|
MailDomainSummary() |
Modifier and Type | Method and Description |
---|---|
MailDomainSummary |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDefaultDomain()
Whether the domain is default or not.
|
String |
getDomainName()
The domain name.
|
int |
hashCode() |
Boolean |
isDefaultDomain()
Whether the domain is default or not.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultDomain(Boolean defaultDomain)
Whether the domain is default or not.
|
void |
setDomainName(String domainName)
The domain name.
|
String |
toString()
Returns a string representation of this object.
|
MailDomainSummary |
withDefaultDomain(Boolean defaultDomain)
Whether the domain is default or not.
|
MailDomainSummary |
withDomainName(String domainName)
The domain name.
|
public void setDomainName(String domainName)
The domain name.
domainName
- The domain name.public String getDomainName()
The domain name.
public MailDomainSummary withDomainName(String domainName)
The domain name.
domainName
- The domain name.public void setDefaultDomain(Boolean defaultDomain)
Whether the domain is default or not.
defaultDomain
- Whether the domain is default or not.public Boolean getDefaultDomain()
Whether the domain is default or not.
public MailDomainSummary withDefaultDomain(Boolean defaultDomain)
Whether the domain is default or not.
defaultDomain
- Whether the domain is default or not.public Boolean isDefaultDomain()
Whether the domain is default or not.
public String toString()
toString
in class Object
Object.toString()
public MailDomainSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.