
com.pulumi.azurenative.iotoperations.outputs.BrokerAuthenticatorMethodX509Response Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.iotoperations.outputs;
import com.pulumi.azurenative.iotoperations.outputs.BrokerAuthenticatorMethodX509AttributesResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class BrokerAuthenticatorMethodX509Response {
/**
* @return X509 authorization attributes properties.
*
*/
private @Nullable Map authorizationAttributes;
/**
* @return Name of the trusted client ca cert resource.
*
*/
private @Nullable String trustedClientCaCert;
private BrokerAuthenticatorMethodX509Response() {}
/**
* @return X509 authorization attributes properties.
*
*/
public Map authorizationAttributes() {
return this.authorizationAttributes == null ? Map.of() : this.authorizationAttributes;
}
/**
* @return Name of the trusted client ca cert resource.
*
*/
public Optional trustedClientCaCert() {
return Optional.ofNullable(this.trustedClientCaCert);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BrokerAuthenticatorMethodX509Response defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Map authorizationAttributes;
private @Nullable String trustedClientCaCert;
public Builder() {}
public Builder(BrokerAuthenticatorMethodX509Response defaults) {
Objects.requireNonNull(defaults);
this.authorizationAttributes = defaults.authorizationAttributes;
this.trustedClientCaCert = defaults.trustedClientCaCert;
}
@CustomType.Setter
public Builder authorizationAttributes(@Nullable Map authorizationAttributes) {
this.authorizationAttributes = authorizationAttributes;
return this;
}
@CustomType.Setter
public Builder trustedClientCaCert(@Nullable String trustedClientCaCert) {
this.trustedClientCaCert = trustedClientCaCert;
return this;
}
public BrokerAuthenticatorMethodX509Response build() {
final var _resultValue = new BrokerAuthenticatorMethodX509Response();
_resultValue.authorizationAttributes = authorizationAttributes;
_resultValue.trustedClientCaCert = trustedClientCaCert;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy