@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRelayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateRelayRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateRelayRequest |
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 |
getRelayId()
The unique relay identifier.
|
String |
getRelayName()
The name of the relay resource.
|
String |
getServerName()
The destination relay server address.
|
Integer |
getServerPort()
The destination relay server port.
|
int |
hashCode() |
void |
setAuthentication(RelayAuthentication authentication)
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
|
void |
setRelayId(String relayId)
The unique relay identifier.
|
void |
setRelayName(String relayName)
The name of the relay resource.
|
void |
setServerName(String serverName)
The destination relay server address.
|
void |
setServerPort(Integer serverPort)
The destination relay server port.
|
String |
toString()
Returns a string representation of this object.
|
UpdateRelayRequest |
withAuthentication(RelayAuthentication authentication)
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
|
UpdateRelayRequest |
withRelayId(String relayId)
The unique relay identifier.
|
UpdateRelayRequest |
withRelayName(String relayName)
The name of the relay resource.
|
UpdateRelayRequest |
withServerName(String serverName)
The destination relay server address.
|
UpdateRelayRequest |
withServerPort(Integer serverPort)
The destination relay server port.
|
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 UpdateRelayRequest 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 setRelayId(String relayId)
The unique relay identifier.
relayId
- The unique relay identifier.public String getRelayId()
The unique relay identifier.
public UpdateRelayRequest withRelayId(String relayId)
The unique relay identifier.
relayId
- The unique relay identifier.public void setRelayName(String relayName)
The name of the relay resource.
relayName
- The name of the relay resource.public String getRelayName()
The name of the relay resource.
public UpdateRelayRequest withRelayName(String relayName)
The name of the relay resource.
relayName
- The 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 UpdateRelayRequest 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 UpdateRelayRequest withServerPort(Integer serverPort)
The destination relay server port.
serverPort
- The destination relay server port.public String toString()
toString
in class Object
Object.toString()
public UpdateRelayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()