@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Relay extends Object implements Serializable, Cloneable, StructuredPojo
The relay resource that can be used as a rule to relay receiving emails to the destination relay server.
Constructor and Description |
---|
Relay() |
Modifier and Type | Method and Description |
---|---|
Relay |
clone() |
boolean |
equals(Object obj) |
Date |
getLastModifiedTimestamp()
The timestamp of when the relay was last modified.
|
String |
getRelayId()
The unique relay identifier.
|
String |
getRelayName()
The unique relay name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLastModifiedTimestamp(Date lastModifiedTimestamp)
The timestamp of when the relay was last modified.
|
void |
setRelayId(String relayId)
The unique relay identifier.
|
void |
setRelayName(String relayName)
The unique relay name.
|
String |
toString()
Returns a string representation of this object.
|
Relay |
withLastModifiedTimestamp(Date lastModifiedTimestamp)
The timestamp of when the relay was last modified.
|
Relay |
withRelayId(String relayId)
The unique relay identifier.
|
Relay |
withRelayName(String relayName)
The unique relay name.
|
public void setLastModifiedTimestamp(Date lastModifiedTimestamp)
The timestamp of when the relay was last modified.
lastModifiedTimestamp
- The timestamp of when the relay was last modified.public Date getLastModifiedTimestamp()
The timestamp of when the relay was last modified.
public Relay withLastModifiedTimestamp(Date lastModifiedTimestamp)
The timestamp of when the relay was last modified.
lastModifiedTimestamp
- The timestamp of when the relay was last modified.public void setRelayId(String relayId)
The unique relay identifier.
relayId
- The unique relay identifier.public String getRelayId()
The unique relay identifier.
public Relay withRelayId(String relayId)
The unique relay identifier.
relayId
- The unique relay identifier.public void setRelayName(String relayName)
The unique relay name.
relayName
- The unique relay name.public String getRelayName()
The unique relay name.
public Relay withRelayName(String relayName)
The unique relay name.
relayName
- The unique relay name.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.