@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRelayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRelayRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRelayRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
RelayAuthentication |
getAuthentication()
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
|
String |
getClientToken()
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
|
String |
getRelayName()
The unique name of the relay resource.
|
String |
getServerName()
The destination relay server address.
|
Integer |
getServerPort()
The destination relay server port.
|
List<Tag> |
getTags()
The tags used to organize, track, or control access for the resource.
|
int |
hashCode() |
void |
setAuthentication(RelayAuthentication authentication)
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
|
void |
setClientToken(String clientToken)
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
|
void |
setRelayName(String relayName)
The unique name of the relay resource.
|
void |
setServerName(String serverName)
The destination relay server address.
|
void |
setServerPort(Integer serverPort)
The destination relay server port.
|
void |
setTags(Collection<Tag> tags)
The tags used to organize, track, or control access for the resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateRelayRequest |
withAuthentication(RelayAuthentication authentication)
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
|
CreateRelayRequest |
withClientToken(String clientToken)
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
|
CreateRelayRequest |
withRelayName(String relayName)
The unique name of the relay resource.
|
CreateRelayRequest |
withServerName(String serverName)
The destination relay server address.
|
CreateRelayRequest |
withServerPort(Integer serverPort)
The destination relay server port.
|
CreateRelayRequest |
withTags(Collection<Tag> tags)
The tags used to organize, track, or control access for the resource.
|
CreateRelayRequest |
withTags(Tag... tags)
The tags used to organize, track, or control access for the resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAuthentication(RelayAuthentication authentication)
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
authentication
- Authentication for the relay destination server—specify the secretARN where the SMTP credentials are
stored.public RelayAuthentication getAuthentication()
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
public CreateRelayRequest withAuthentication(RelayAuthentication authentication)
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
authentication
- Authentication for the relay destination server—specify the secretARN where the SMTP credentials are
stored.public void setClientToken(String clientToken)
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
clientToken
- A unique token that Amazon SES uses to recognize subsequent retries of the same request.public String getClientToken()
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
public CreateRelayRequest withClientToken(String clientToken)
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
clientToken
- A unique token that Amazon SES uses to recognize subsequent retries of the same request.public void setRelayName(String relayName)
The unique name of the relay resource.
relayName
- The unique name of the relay resource.public String getRelayName()
The unique name of the relay resource.
public CreateRelayRequest withRelayName(String relayName)
The unique name of the relay resource.
relayName
- The unique name of the relay resource.public void setServerName(String serverName)
The destination relay server address.
serverName
- The destination relay server address.public String getServerName()
The destination relay server address.
public CreateRelayRequest withServerName(String serverName)
The destination relay server address.
serverName
- The destination relay server address.public void setServerPort(Integer serverPort)
The destination relay server port.
serverPort
- The destination relay server port.public Integer getServerPort()
The destination relay server port.
public CreateRelayRequest withServerPort(Integer serverPort)
The destination relay server port.
serverPort
- The destination relay server port.public List<Tag> getTags()
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Collection<Tag> tags)
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for the resource. For example, { "tags":
{"key1":"value1", "key2":"value2"} }.public CreateRelayRequest withTags(Tag... tags)
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags used to organize, track, or control access for the resource. For example, { "tags":
{"key1":"value1", "key2":"value2"} }.public CreateRelayRequest withTags(Collection<Tag> tags)
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for the resource. For example, { "tags":
{"key1":"value1", "key2":"value2"} }.public String toString()
toString
in class Object
Object.toString()
public CreateRelayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()