public class DeliveryOptions
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTlsPolicy()
Specifies whether messages that use the configuration set are required to
use Transport Layer Security (TLS).
|
int |
hashCode() |
void |
setTlsPolicy(java.lang.String tlsPolicy)
Specifies whether messages that use the configuration set are required to
use Transport Layer Security (TLS).
|
void |
setTlsPolicy(TlsPolicy tlsPolicy)
Specifies whether messages that use the configuration set are required to
use Transport Layer Security (TLS).
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeliveryOptions |
withTlsPolicy(java.lang.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 java.lang.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.
Constraints:
Allowed Values: Require, Optional
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
public void setTlsPolicy(java.lang.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.
Constraints:
Allowed Values: Require, Optional
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
public DeliveryOptions withTlsPolicy(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Require, Optional
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
public void setTlsPolicy(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.
Constraints:
Allowed Values: Require, Optional
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
public 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Require, Optional
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
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.