com.pulumi.aws.elasticsearch.inputs.DomainNodeToNodeEncryptionArgs 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.elasticsearch.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.util.Objects;
public final class DomainNodeToNodeEncryptionArgs extends com.pulumi.resources.ResourceArgs {
public static final DomainNodeToNodeEncryptionArgs Empty = new DomainNodeToNodeEncryptionArgs();
/**
* Whether to enable node-to-node encryption. If the `node_to_node_encryption` block is not provided then this defaults to `false`. Enabling node-to-node encryption of a new domain requires an `elasticsearch_version` of `6.0` or greater.
*
*/
@Import(name="enabled", required=true)
private Output enabled;
/**
* @return Whether to enable node-to-node encryption. If the `node_to_node_encryption` block is not provided then this defaults to `false`. Enabling node-to-node encryption of a new domain requires an `elasticsearch_version` of `6.0` or greater.
*
*/
public Output enabled() {
return this.enabled;
}
private DomainNodeToNodeEncryptionArgs() {}
private DomainNodeToNodeEncryptionArgs(DomainNodeToNodeEncryptionArgs $) {
this.enabled = $.enabled;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DomainNodeToNodeEncryptionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private DomainNodeToNodeEncryptionArgs $;
public Builder() {
$ = new DomainNodeToNodeEncryptionArgs();
}
public Builder(DomainNodeToNodeEncryptionArgs defaults) {
$ = new DomainNodeToNodeEncryptionArgs(Objects.requireNonNull(defaults));
}
/**
* @param enabled Whether to enable node-to-node encryption. If the `node_to_node_encryption` block is not provided then this defaults to `false`. Enabling node-to-node encryption of a new domain requires an `elasticsearch_version` of `6.0` or greater.
*
* @return builder
*
*/
public Builder enabled(Output enabled) {
$.enabled = enabled;
return this;
}
/**
* @param enabled Whether to enable node-to-node encryption. If the `node_to_node_encryption` block is not provided then this defaults to `false`. Enabling node-to-node encryption of a new domain requires an `elasticsearch_version` of `6.0` or greater.
*
* @return builder
*
*/
public Builder enabled(Boolean enabled) {
return enabled(Output.of(enabled));
}
public DomainNodeToNodeEncryptionArgs build() {
if ($.enabled == null) {
throw new MissingRequiredPropertyException("DomainNodeToNodeEncryptionArgs", "enabled");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy