
com.pulumi.azurenative.containerservice.outputs.WindowsGmsaProfileResponse 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.containerservice.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 WindowsGmsaProfileResponse {
/**
* @return Specifies the DNS server for Windows gMSA. <br><br> Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
*
*/
private @Nullable String dnsServer;
/**
* @return Specifies whether to enable Windows gMSA in the managed cluster.
*
*/
private @Nullable Boolean enabled;
/**
* @return Specifies the root domain name for Windows gMSA. <br><br> Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
*
*/
private @Nullable String rootDomainName;
private WindowsGmsaProfileResponse() {}
/**
* @return Specifies the DNS server for Windows gMSA. <br><br> Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
*
*/
public Optional dnsServer() {
return Optional.ofNullable(this.dnsServer);
}
/**
* @return Specifies whether to enable Windows gMSA in the managed cluster.
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
/**
* @return Specifies the root domain name for Windows gMSA. <br><br> Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
*
*/
public Optional rootDomainName() {
return Optional.ofNullable(this.rootDomainName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WindowsGmsaProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String dnsServer;
private @Nullable Boolean enabled;
private @Nullable String rootDomainName;
public Builder() {}
public Builder(WindowsGmsaProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.dnsServer = defaults.dnsServer;
this.enabled = defaults.enabled;
this.rootDomainName = defaults.rootDomainName;
}
@CustomType.Setter
public Builder dnsServer(@Nullable String dnsServer) {
this.dnsServer = dnsServer;
return this;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder rootDomainName(@Nullable String rootDomainName) {
this.rootDomainName = rootDomainName;
return this;
}
public WindowsGmsaProfileResponse build() {
final var _resultValue = new WindowsGmsaProfileResponse();
_resultValue.dnsServer = dnsServer;
_resultValue.enabled = enabled;
_resultValue.rootDomainName = rootDomainName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy