com.pulumi.aws.msk.outputs.ClusterEncryptionInfoEncryptionInTransit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** 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.msk.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClusterEncryptionInfoEncryptionInTransit {
/**
* @return Encryption setting for data in transit between clients and brokers. Valid values: `TLS`, `TLS_PLAINTEXT`, and `PLAINTEXT`. Default value is `TLS`.
*
*/
private @Nullable String clientBroker;
/**
* @return Whether data communication among broker nodes is encrypted. Default value: `true`.
*
*/
private @Nullable Boolean inCluster;
private ClusterEncryptionInfoEncryptionInTransit() {}
/**
* @return Encryption setting for data in transit between clients and brokers. Valid values: `TLS`, `TLS_PLAINTEXT`, and `PLAINTEXT`. Default value is `TLS`.
*
*/
public Optional clientBroker() {
return Optional.ofNullable(this.clientBroker);
}
/**
* @return Whether data communication among broker nodes is encrypted. Default value: `true`.
*
*/
public Optional inCluster() {
return Optional.ofNullable(this.inCluster);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterEncryptionInfoEncryptionInTransit defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String clientBroker;
private @Nullable Boolean inCluster;
public Builder() {}
public Builder(ClusterEncryptionInfoEncryptionInTransit defaults) {
Objects.requireNonNull(defaults);
this.clientBroker = defaults.clientBroker;
this.inCluster = defaults.inCluster;
}
@CustomType.Setter
public Builder clientBroker(@Nullable String clientBroker) {
this.clientBroker = clientBroker;
return this;
}
@CustomType.Setter
public Builder inCluster(@Nullable Boolean inCluster) {
this.inCluster = inCluster;
return this;
}
public ClusterEncryptionInfoEncryptionInTransit build() {
final var _resultValue = new ClusterEncryptionInfoEncryptionInTransit();
_resultValue.clientBroker = clientBroker;
_resultValue.inCluster = inCluster;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy