@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeliveryOptions extends Object implements Serializable, Cloneable
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).
| Constructor and Description |
|---|
DeliveryOptions() |
| Modifier and Type | Method and Description |
|---|---|
DeliveryOptions |
clone() |
boolean |
equals(Object obj) |
String |
getTlsPolicy()
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).
|
int |
hashCode() |
void |
setTlsPolicy(String tlsPolicy)
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).
|
String |
toString()
Returns a string representation of this object.
|
DeliveryOptions |
withTlsPolicy(String tlsPolicy)
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).
|
DeliveryOptions |
withTlsPolicy(TlsPolicy tlsPolicy)
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).
|
public void setTlsPolicy(String tlsPolicy)
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If
the value is Require, messages are only delivered if a TLS connection can be established. If the
value is Optional, messages can be delivered in plain text if a TLS connection can't be established.
tlsPolicy - Specifies whether messages that use the configuration set are required to use Transport Layer Security
(TLS). If the value is Require, messages are only delivered if a TLS connection can be
established. If the value is Optional, messages can be delivered in plain text if a TLS
connection can't be established.TlsPolicypublic String getTlsPolicy()
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If
the value is Require, messages are only delivered if a TLS connection can be established. If the
value is Optional, messages can be delivered in plain text if a TLS connection can't be established.
Require, messages are only delivered if a TLS connection can be
established. If the value is Optional, messages can be delivered in plain text if a TLS
connection can't be established.TlsPolicypublic DeliveryOptions withTlsPolicy(String tlsPolicy)
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If
the value is Require, messages are only delivered if a TLS connection can be established. If the
value is Optional, messages can be delivered in plain text if a TLS connection can't be established.
tlsPolicy - Specifies whether messages that use the configuration set are required to use Transport Layer Security
(TLS). If the value is Require, messages are only delivered if a TLS connection can be
established. If the value is Optional, messages can be delivered in plain text if a TLS
connection can't be established.TlsPolicypublic DeliveryOptions withTlsPolicy(TlsPolicy tlsPolicy)
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If
the value is Require, messages are only delivered if a TLS connection can be established. If the
value is Optional, messages can be delivered in plain text if a TLS connection can't be established.
tlsPolicy - Specifies whether messages that use the configuration set are required to use Transport Layer Security
(TLS). If the value is Require, messages are only delivered if a TLS connection can be
established. If the value is Optional, messages can be delivered in plain text if a TLS
connection can't be established.TlsPolicypublic String toString()
toString in class ObjectObject.toString()public DeliveryOptions clone()