All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.iotoperationsmq.outputs.BrokerAuthenticatorMethodsResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show 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.iotoperationsmq.outputs;

import com.pulumi.azurenative.iotoperationsmq.outputs.BrokerAuthenticatorMethodCustomResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.BrokerAuthenticatorMethodSatResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.BrokerAuthenticatorMethodSvidResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.BrokerAuthenticatorMethodUsernamePasswordResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.BrokerAuthenticatorMethodX509Response;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class BrokerAuthenticatorMethodsResponse {
    /**
     * @return Custom Authentication Method.
     * 
     */
    private @Nullable BrokerAuthenticatorMethodCustomResponse custom;
    /**
     * @return Service Account Token Method.
     * 
     */
    private @Nullable BrokerAuthenticatorMethodSatResponse sat;
    /**
     * @return Service Account Token Method.
     * 
     */
    private @Nullable BrokerAuthenticatorMethodSvidResponse svid;
    /**
     * @return UsernamePassword Method.
     * 
     */
    private @Nullable BrokerAuthenticatorMethodUsernamePasswordResponse usernamePassword;
    /**
     * @return X509 Method.
     * 
     */
    private @Nullable BrokerAuthenticatorMethodX509Response x509;

    private BrokerAuthenticatorMethodsResponse() {}
    /**
     * @return Custom Authentication Method.
     * 
     */
    public Optional custom() {
        return Optional.ofNullable(this.custom);
    }
    /**
     * @return Service Account Token Method.
     * 
     */
    public Optional sat() {
        return Optional.ofNullable(this.sat);
    }
    /**
     * @return Service Account Token Method.
     * 
     */
    public Optional svid() {
        return Optional.ofNullable(this.svid);
    }
    /**
     * @return UsernamePassword Method.
     * 
     */
    public Optional usernamePassword() {
        return Optional.ofNullable(this.usernamePassword);
    }
    /**
     * @return X509 Method.
     * 
     */
    public Optional x509() {
        return Optional.ofNullable(this.x509);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(BrokerAuthenticatorMethodsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable BrokerAuthenticatorMethodCustomResponse custom;
        private @Nullable BrokerAuthenticatorMethodSatResponse sat;
        private @Nullable BrokerAuthenticatorMethodSvidResponse svid;
        private @Nullable BrokerAuthenticatorMethodUsernamePasswordResponse usernamePassword;
        private @Nullable BrokerAuthenticatorMethodX509Response x509;
        public Builder() {}
        public Builder(BrokerAuthenticatorMethodsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.custom = defaults.custom;
    	      this.sat = defaults.sat;
    	      this.svid = defaults.svid;
    	      this.usernamePassword = defaults.usernamePassword;
    	      this.x509 = defaults.x509;
        }

        @CustomType.Setter
        public Builder custom(@Nullable BrokerAuthenticatorMethodCustomResponse custom) {

            this.custom = custom;
            return this;
        }
        @CustomType.Setter
        public Builder sat(@Nullable BrokerAuthenticatorMethodSatResponse sat) {

            this.sat = sat;
            return this;
        }
        @CustomType.Setter
        public Builder svid(@Nullable BrokerAuthenticatorMethodSvidResponse svid) {

            this.svid = svid;
            return this;
        }
        @CustomType.Setter
        public Builder usernamePassword(@Nullable BrokerAuthenticatorMethodUsernamePasswordResponse usernamePassword) {

            this.usernamePassword = usernamePassword;
            return this;
        }
        @CustomType.Setter
        public Builder x509(@Nullable BrokerAuthenticatorMethodX509Response x509) {

            this.x509 = x509;
            return this;
        }
        public BrokerAuthenticatorMethodsResponse build() {
            final var _resultValue = new BrokerAuthenticatorMethodsResponse();
            _resultValue.custom = custom;
            _resultValue.sat = sat;
            _resultValue.svid = svid;
            _resultValue.usernamePassword = usernamePassword;
            _resultValue.x509 = x509;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy