
com.pulumi.azurenative.hdinsight.outputs.GetClusterGatewaySettingsResult 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.azurenative.hdinsight.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetClusterGatewaySettingsResult {
/**
* @return Indicates whether or not the gateway settings based authorization is enabled.
*
*/
private String isCredentialEnabled;
/**
* @return The gateway settings user password.
*
*/
private String password;
/**
* @return The gateway settings user name.
*
*/
private String userName;
private GetClusterGatewaySettingsResult() {}
/**
* @return Indicates whether or not the gateway settings based authorization is enabled.
*
*/
public String isCredentialEnabled() {
return this.isCredentialEnabled;
}
/**
* @return The gateway settings user password.
*
*/
public String password() {
return this.password;
}
/**
* @return The gateway settings user name.
*
*/
public String userName() {
return this.userName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetClusterGatewaySettingsResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String isCredentialEnabled;
private String password;
private String userName;
public Builder() {}
public Builder(GetClusterGatewaySettingsResult defaults) {
Objects.requireNonNull(defaults);
this.isCredentialEnabled = defaults.isCredentialEnabled;
this.password = defaults.password;
this.userName = defaults.userName;
}
@CustomType.Setter
public Builder isCredentialEnabled(String isCredentialEnabled) {
if (isCredentialEnabled == null) {
throw new MissingRequiredPropertyException("GetClusterGatewaySettingsResult", "isCredentialEnabled");
}
this.isCredentialEnabled = isCredentialEnabled;
return this;
}
@CustomType.Setter
public Builder password(String password) {
if (password == null) {
throw new MissingRequiredPropertyException("GetClusterGatewaySettingsResult", "password");
}
this.password = password;
return this;
}
@CustomType.Setter
public Builder userName(String userName) {
if (userName == null) {
throw new MissingRequiredPropertyException("GetClusterGatewaySettingsResult", "userName");
}
this.userName = userName;
return this;
}
public GetClusterGatewaySettingsResult build() {
final var _resultValue = new GetClusterGatewaySettingsResult();
_resultValue.isCredentialEnabled = isCredentialEnabled;
_resultValue.password = password;
_resultValue.userName = userName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy