
com.pulumi.aws.mskconnect.outputs.ConnectorKafkaClusterEncryptionInTransit Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.mskconnect.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ConnectorKafkaClusterEncryptionInTransit {
/**
* @return The type of encryption in transit to the Apache Kafka cluster. Valid values: `PLAINTEXT`, `TLS`. The default values is `PLAINTEXT`.
*
*/
private @Nullable String encryptionType;
private ConnectorKafkaClusterEncryptionInTransit() {}
/**
* @return The type of encryption in transit to the Apache Kafka cluster. Valid values: `PLAINTEXT`, `TLS`. The default values is `PLAINTEXT`.
*
*/
public Optional encryptionType() {
return Optional.ofNullable(this.encryptionType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ConnectorKafkaClusterEncryptionInTransit defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String encryptionType;
public Builder() {}
public Builder(ConnectorKafkaClusterEncryptionInTransit defaults) {
Objects.requireNonNull(defaults);
this.encryptionType = defaults.encryptionType;
}
@CustomType.Setter
public Builder encryptionType(@Nullable String encryptionType) {
this.encryptionType = encryptionType;
return this;
}
public ConnectorKafkaClusterEncryptionInTransit build() {
final var _resultValue = new ConnectorKafkaClusterEncryptionInTransit();
_resultValue.encryptionType = encryptionType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy