com.pulumi.azure.hdinsight.outputs.HadoopClusterRolesEdgeNodeHttpsEndpoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.hdinsight.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class HadoopClusterRolesEdgeNodeHttpsEndpoint {
/**
* @return A list of access modes for the application.
*
*/
private @Nullable List accessModes;
/**
* @return The destination port to connect to.
*
*/
private @Nullable Integer destinationPort;
/**
* @return The value indicates whether the gateway authentication is enabled or not.
*
*/
private @Nullable Boolean disableGatewayAuth;
/**
* @return The private ip address of the endpoint.
*
*/
private @Nullable String privateIpAddress;
/**
* @return The application's subdomain suffix.
*
*/
private @Nullable String subDomainSuffix;
private HadoopClusterRolesEdgeNodeHttpsEndpoint() {}
/**
* @return A list of access modes for the application.
*
*/
public List accessModes() {
return this.accessModes == null ? List.of() : this.accessModes;
}
/**
* @return The destination port to connect to.
*
*/
public Optional destinationPort() {
return Optional.ofNullable(this.destinationPort);
}
/**
* @return The value indicates whether the gateway authentication is enabled or not.
*
*/
public Optional disableGatewayAuth() {
return Optional.ofNullable(this.disableGatewayAuth);
}
/**
* @return The private ip address of the endpoint.
*
*/
public Optional privateIpAddress() {
return Optional.ofNullable(this.privateIpAddress);
}
/**
* @return The application's subdomain suffix.
*
*/
public Optional subDomainSuffix() {
return Optional.ofNullable(this.subDomainSuffix);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HadoopClusterRolesEdgeNodeHttpsEndpoint defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List accessModes;
private @Nullable Integer destinationPort;
private @Nullable Boolean disableGatewayAuth;
private @Nullable String privateIpAddress;
private @Nullable String subDomainSuffix;
public Builder() {}
public Builder(HadoopClusterRolesEdgeNodeHttpsEndpoint defaults) {
Objects.requireNonNull(defaults);
this.accessModes = defaults.accessModes;
this.destinationPort = defaults.destinationPort;
this.disableGatewayAuth = defaults.disableGatewayAuth;
this.privateIpAddress = defaults.privateIpAddress;
this.subDomainSuffix = defaults.subDomainSuffix;
}
@CustomType.Setter
public Builder accessModes(@Nullable List accessModes) {
this.accessModes = accessModes;
return this;
}
public Builder accessModes(String... accessModes) {
return accessModes(List.of(accessModes));
}
@CustomType.Setter
public Builder destinationPort(@Nullable Integer destinationPort) {
this.destinationPort = destinationPort;
return this;
}
@CustomType.Setter
public Builder disableGatewayAuth(@Nullable Boolean disableGatewayAuth) {
this.disableGatewayAuth = disableGatewayAuth;
return this;
}
@CustomType.Setter
public Builder privateIpAddress(@Nullable String privateIpAddress) {
this.privateIpAddress = privateIpAddress;
return this;
}
@CustomType.Setter
public Builder subDomainSuffix(@Nullable String subDomainSuffix) {
this.subDomainSuffix = subDomainSuffix;
return this;
}
public HadoopClusterRolesEdgeNodeHttpsEndpoint build() {
final var _resultValue = new HadoopClusterRolesEdgeNodeHttpsEndpoint();
_resultValue.accessModes = accessModes;
_resultValue.destinationPort = destinationPort;
_resultValue.disableGatewayAuth = disableGatewayAuth;
_resultValue.privateIpAddress = privateIpAddress;
_resultValue.subDomainSuffix = subDomainSuffix;
return _resultValue;
}
}
}