@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionInTransit extends Object implements Serializable, Cloneable, StructuredPojo
The settings for encrypting data in transit.
Constructor and Description |
---|
EncryptionInTransit() |
Modifier and Type | Method and Description |
---|---|
EncryptionInTransit |
clone() |
boolean |
equals(Object obj) |
String |
getClientBroker()
Indicates the encryption setting for data in transit between clients and brokers.
|
Boolean |
getInCluster()
When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted.
|
int |
hashCode() |
Boolean |
isInCluster()
When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientBroker(String clientBroker)
Indicates the encryption setting for data in transit between clients and brokers.
|
void |
setInCluster(Boolean inCluster)
When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted.
|
String |
toString()
Returns a string representation of this object.
|
EncryptionInTransit |
withClientBroker(ClientBroker clientBroker)
Indicates the encryption setting for data in transit between clients and brokers.
|
EncryptionInTransit |
withClientBroker(String clientBroker)
Indicates the encryption setting for data in transit between clients and brokers.
|
EncryptionInTransit |
withInCluster(Boolean inCluster)
When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted.
|
public void setClientBroker(String clientBroker)
Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.
TLS means that client-broker communication is enabled with TLS only.
TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
PLAINTEXT means that client-broker communication is enabled in plaintext only.
The default value is TLS_PLAINTEXT.
clientBroker
- Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.
TLS means that client-broker communication is enabled with TLS only.
TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
PLAINTEXT means that client-broker communication is enabled in plaintext only.
The default value is TLS_PLAINTEXT.
ClientBroker
public String getClientBroker()
Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.
TLS means that client-broker communication is enabled with TLS only.
TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
PLAINTEXT means that client-broker communication is enabled in plaintext only.
The default value is TLS_PLAINTEXT.
Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.
TLS means that client-broker communication is enabled with TLS only.
TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
PLAINTEXT means that client-broker communication is enabled in plaintext only.
The default value is TLS_PLAINTEXT.
ClientBroker
public EncryptionInTransit withClientBroker(String clientBroker)
Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.
TLS means that client-broker communication is enabled with TLS only.
TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
PLAINTEXT means that client-broker communication is enabled in plaintext only.
The default value is TLS_PLAINTEXT.
clientBroker
- Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.
TLS means that client-broker communication is enabled with TLS only.
TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
PLAINTEXT means that client-broker communication is enabled in plaintext only.
The default value is TLS_PLAINTEXT.
ClientBroker
public EncryptionInTransit withClientBroker(ClientBroker clientBroker)
Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.
TLS means that client-broker communication is enabled with TLS only.
TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
PLAINTEXT means that client-broker communication is enabled in plaintext only.
The default value is TLS_PLAINTEXT.
clientBroker
- Indicates the encryption setting for data in transit between clients and brokers. The following are the possible values.
TLS means that client-broker communication is enabled with TLS only.
TLS_PLAINTEXT means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
PLAINTEXT means that client-broker communication is enabled in plaintext only.
The default value is TLS_PLAINTEXT.
ClientBroker
public void setInCluster(Boolean inCluster)
When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.
The default value is true.
inCluster
- When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.
The default value is true.
public Boolean getInCluster()
When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.
The default value is true.
When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.
The default value is true.
public EncryptionInTransit withInCluster(Boolean inCluster)
When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.
The default value is true.
inCluster
- When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.
The default value is true.
public Boolean isInCluster()
When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.
The default value is true.
When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.
The default value is true.
public String toString()
toString
in class Object
Object.toString()
public EncryptionInTransit clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.