@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EmailReference extends Object implements Serializable, Cloneable, StructuredPojo
Information about a reference when the referenceType
is EMAIL
. Otherwise, null.
Constructor and Description |
---|
EmailReference() |
Modifier and Type | Method and Description |
---|---|
EmailReference |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Identifier of the email reference.
|
String |
getValue()
A valid email address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
Identifier of the email reference.
|
void |
setValue(String value)
A valid email address.
|
String |
toString()
Returns a string representation of this object.
|
EmailReference |
withName(String name)
Identifier of the email reference.
|
EmailReference |
withValue(String value)
A valid email address.
|
public void setName(String name)
Identifier of the email reference.
name
- Identifier of the email reference.public String getName()
Identifier of the email reference.
public EmailReference withName(String name)
Identifier of the email reference.
name
- Identifier of the email reference.public void setValue(String value)
A valid email address.
value
- A valid email address.public String getValue()
A valid email address.
public EmailReference withValue(String value)
A valid email address.
value
- A valid email address.public String toString()
toString
in class Object
Object.toString()
public EmailReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.