@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlternateContact extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains the details of an alternate contact associated with an Amazon Web Services account
Constructor and Description |
---|
AlternateContact() |
Modifier and Type | Method and Description |
---|---|
AlternateContact |
clone() |
boolean |
equals(Object obj) |
String |
getAlternateContactType()
The type of alternate contact.
|
String |
getEmailAddress()
The email address associated with this alternate contact.
|
String |
getName()
The name associated with this alternate contact.
|
String |
getPhoneNumber()
The phone number associated with this alternate contact.
|
String |
getTitle()
The title associated with this alternate contact.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlternateContactType(String alternateContactType)
The type of alternate contact.
|
void |
setEmailAddress(String emailAddress)
The email address associated with this alternate contact.
|
void |
setName(String name)
The name associated with this alternate contact.
|
void |
setPhoneNumber(String phoneNumber)
The phone number associated with this alternate contact.
|
void |
setTitle(String title)
The title associated with this alternate contact.
|
String |
toString()
Returns a string representation of this object.
|
AlternateContact |
withAlternateContactType(AlternateContactType alternateContactType)
The type of alternate contact.
|
AlternateContact |
withAlternateContactType(String alternateContactType)
The type of alternate contact.
|
AlternateContact |
withEmailAddress(String emailAddress)
The email address associated with this alternate contact.
|
AlternateContact |
withName(String name)
The name associated with this alternate contact.
|
AlternateContact |
withPhoneNumber(String phoneNumber)
The phone number associated with this alternate contact.
|
AlternateContact |
withTitle(String title)
The title associated with this alternate contact.
|
public void setAlternateContactType(String alternateContactType)
The type of alternate contact.
alternateContactType
- The type of alternate contact.AlternateContactType
public String getAlternateContactType()
The type of alternate contact.
AlternateContactType
public AlternateContact withAlternateContactType(String alternateContactType)
The type of alternate contact.
alternateContactType
- The type of alternate contact.AlternateContactType
public AlternateContact withAlternateContactType(AlternateContactType alternateContactType)
The type of alternate contact.
alternateContactType
- The type of alternate contact.AlternateContactType
public void setEmailAddress(String emailAddress)
The email address associated with this alternate contact.
emailAddress
- The email address associated with this alternate contact.public String getEmailAddress()
The email address associated with this alternate contact.
public AlternateContact withEmailAddress(String emailAddress)
The email address associated with this alternate contact.
emailAddress
- The email address associated with this alternate contact.public void setName(String name)
The name associated with this alternate contact.
name
- The name associated with this alternate contact.public String getName()
The name associated with this alternate contact.
public AlternateContact withName(String name)
The name associated with this alternate contact.
name
- The name associated with this alternate contact.public void setPhoneNumber(String phoneNumber)
The phone number associated with this alternate contact.
phoneNumber
- The phone number associated with this alternate contact.public String getPhoneNumber()
The phone number associated with this alternate contact.
public AlternateContact withPhoneNumber(String phoneNumber)
The phone number associated with this alternate contact.
phoneNumber
- The phone number associated with this alternate contact.public void setTitle(String title)
The title associated with this alternate contact.
title
- The title associated with this alternate contact.public String getTitle()
The title associated with this alternate contact.
public AlternateContact withTitle(String title)
The title associated with this alternate contact.
title
- The title associated with this alternate contact.public String toString()
toString
in class Object
Object.toString()
public AlternateContact clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.