
com.pulumi.azurenative.mobilenetwork.outputs.LocalDiagnosticsAccessConfigurationResponse 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.mobilenetwork.outputs;
import com.pulumi.azurenative.mobilenetwork.outputs.HttpsServerCertificateResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class LocalDiagnosticsAccessConfigurationResponse {
/**
* @return How to authenticate users who access local diagnostics APIs.
*
*/
private String authenticationType;
/**
* @return The HTTPS server TLS certificate used to secure local access to diagnostics.
*
*/
private @Nullable HttpsServerCertificateResponse httpsServerCertificate;
private LocalDiagnosticsAccessConfigurationResponse() {}
/**
* @return How to authenticate users who access local diagnostics APIs.
*
*/
public String authenticationType() {
return this.authenticationType;
}
/**
* @return The HTTPS server TLS certificate used to secure local access to diagnostics.
*
*/
public Optional httpsServerCertificate() {
return Optional.ofNullable(this.httpsServerCertificate);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LocalDiagnosticsAccessConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String authenticationType;
private @Nullable HttpsServerCertificateResponse httpsServerCertificate;
public Builder() {}
public Builder(LocalDiagnosticsAccessConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.authenticationType = defaults.authenticationType;
this.httpsServerCertificate = defaults.httpsServerCertificate;
}
@CustomType.Setter
public Builder authenticationType(String authenticationType) {
if (authenticationType == null) {
throw new MissingRequiredPropertyException("LocalDiagnosticsAccessConfigurationResponse", "authenticationType");
}
this.authenticationType = authenticationType;
return this;
}
@CustomType.Setter
public Builder httpsServerCertificate(@Nullable HttpsServerCertificateResponse httpsServerCertificate) {
this.httpsServerCertificate = httpsServerCertificate;
return this;
}
public LocalDiagnosticsAccessConfigurationResponse build() {
final var _resultValue = new LocalDiagnosticsAccessConfigurationResponse();
_resultValue.authenticationType = authenticationType;
_resultValue.httpsServerCertificate = httpsServerCertificate;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy