Class EncryptionInTransit
- java.lang.Object
-
- software.amazon.awssdk.services.kafka.model.EncryptionInTransit
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EncryptionInTransit.Builder,EncryptionInTransit>
@Generated("software.amazon.awssdk:codegen") public final class EncryptionInTransit extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EncryptionInTransit.Builder,EncryptionInTransit>
The settings for encrypting data in transit.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEncryptionInTransit.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptionInTransit.Builderbuilder()ClientBrokerclientBroker()Indicates the encryption setting for data in transit between clients and brokers.StringclientBrokerAsString()Indicates the encryption setting for data in transit between clients and brokers.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleaninCluster()When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted.List<SdkField<?>>sdkFields()static Class<? extends EncryptionInTransit.Builder>serializableBuilderClass()EncryptionInTransit.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clientBroker
public final 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.
If the service returns an enum value that is not available in the current SDK version,
clientBrokerwill returnClientBroker.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclientBrokerAsString().- Returns:
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.
- See Also:
ClientBroker
-
clientBrokerAsString
public final String clientBrokerAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
clientBrokerwill returnClientBroker.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclientBrokerAsString().- Returns:
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.
- See Also:
ClientBroker
-
inCluster
public final 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.
- Returns:
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.
-
toBuilder
public EncryptionInTransit.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EncryptionInTransit.Builder,EncryptionInTransit>
-
builder
public static EncryptionInTransit.Builder builder()
-
serializableBuilderClass
public static Class<? extends EncryptionInTransit.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-