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 interface
EncryptionInTransit.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptionInTransit.Builder
builder()
ClientBroker
clientBroker()
Indicates the encryption setting for data in transit between clients and brokers.String
clientBrokerAsString()
Indicates the encryption setting for data in transit between clients and brokers.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Boolean
inCluster()
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.Builder
toBuilder()
String
toString()
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,
clientBroker
will 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,
clientBroker
will 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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-