com.pulumi.azurenative.iotoperations.outputs.BrokerAuthenticatorMethodX509AttributesResponse 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.
The newest version!
// *** 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class BrokerAuthenticatorMethodX509AttributesResponse {
/**
* @return Attributes object.
*
*/
private Map attributes;
/**
* @return Subject of the X509 attribute.
*
*/
private String subject;
private BrokerAuthenticatorMethodX509AttributesResponse() {}
/**
* @return Attributes object.
*
*/
public Map attributes() {
return this.attributes;
}
/**
* @return Subject of the X509 attribute.
*
*/
public String subject() {
return this.subject;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BrokerAuthenticatorMethodX509AttributesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Map attributes;
private String subject;
public Builder() {}
public Builder(BrokerAuthenticatorMethodX509AttributesResponse defaults) {
Objects.requireNonNull(defaults);
this.attributes = defaults.attributes;
this.subject = defaults.subject;
}
@CustomType.Setter
public Builder attributes(Map attributes) {
if (attributes == null) {
throw new MissingRequiredPropertyException("BrokerAuthenticatorMethodX509AttributesResponse", "attributes");
}
this.attributes = attributes;
return this;
}
@CustomType.Setter
public Builder subject(String subject) {
if (subject == null) {
throw new MissingRequiredPropertyException("BrokerAuthenticatorMethodX509AttributesResponse", "subject");
}
this.subject = subject;
return this;
}
public BrokerAuthenticatorMethodX509AttributesResponse build() {
final var _resultValue = new BrokerAuthenticatorMethodX509AttributesResponse();
_resultValue.attributes = attributes;
_resultValue.subject = subject;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy