@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RelayAuthentication extends Object implements Serializable, Cloneable, StructuredPojo
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored, or specify an empty NoAuthentication structure if the relay destination server does not require SMTP credential authentication.
Constructor and Description |
---|
RelayAuthentication() |
Modifier and Type | Method and Description |
---|---|
RelayAuthentication |
clone() |
boolean |
equals(Object obj) |
NoAuthentication |
getNoAuthentication()
Keep an empty structure if the relay destination server does not require SMTP credential authentication.
|
String |
getSecretArn()
The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNoAuthentication(NoAuthentication noAuthentication)
Keep an empty structure if the relay destination server does not require SMTP credential authentication.
|
void |
setSecretArn(String secretArn)
The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.
|
String |
toString()
Returns a string representation of this object.
|
RelayAuthentication |
withNoAuthentication(NoAuthentication noAuthentication)
Keep an empty structure if the relay destination server does not require SMTP credential authentication.
|
RelayAuthentication |
withSecretArn(String secretArn)
The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.
|
public void setNoAuthentication(NoAuthentication noAuthentication)
Keep an empty structure if the relay destination server does not require SMTP credential authentication.
noAuthentication
- Keep an empty structure if the relay destination server does not require SMTP credential authentication.public NoAuthentication getNoAuthentication()
Keep an empty structure if the relay destination server does not require SMTP credential authentication.
public RelayAuthentication withNoAuthentication(NoAuthentication noAuthentication)
Keep an empty structure if the relay destination server does not require SMTP credential authentication.
noAuthentication
- Keep an empty structure if the relay destination server does not require SMTP credential authentication.public void setSecretArn(String secretArn)
The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.
secretArn
- The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.public String getSecretArn()
The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.
public RelayAuthentication withSecretArn(String secretArn)
The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.
secretArn
- The ARN of the secret created in secrets manager where the relay server's SMTP credentials are stored.public String toString()
toString
in class Object
Object.toString()
public RelayAuthentication clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.