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

com.pulumi.azurenative.iotoperationsmq.outputs.MqttBridgeRemoteBrokerAuthenticationMethodsResponse 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.ManagedIdentityAuthenticationResponse;
import com.pulumi.azurenative.iotoperationsmq.outputs.MqttBridgeRemoteBrokerX509AuthenticationResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class MqttBridgeRemoteBrokerAuthenticationMethodsResponse {
    /**
     * @return Managed identity remote broker authentication method.
     * 
     */
    private @Nullable ManagedIdentityAuthenticationResponse systemAssignedManagedIdentity;
    /**
     * @return X509 remote broker authentication method.
     * 
     */
    private @Nullable MqttBridgeRemoteBrokerX509AuthenticationResponse x509;

    private MqttBridgeRemoteBrokerAuthenticationMethodsResponse() {}
    /**
     * @return Managed identity remote broker authentication method.
     * 
     */
    public Optional systemAssignedManagedIdentity() {
        return Optional.ofNullable(this.systemAssignedManagedIdentity);
    }
    /**
     * @return X509 remote broker authentication method.
     * 
     */
    public Optional x509() {
        return Optional.ofNullable(this.x509);
    }

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

    public static Builder builder(MqttBridgeRemoteBrokerAuthenticationMethodsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ManagedIdentityAuthenticationResponse systemAssignedManagedIdentity;
        private @Nullable MqttBridgeRemoteBrokerX509AuthenticationResponse x509;
        public Builder() {}
        public Builder(MqttBridgeRemoteBrokerAuthenticationMethodsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.systemAssignedManagedIdentity = defaults.systemAssignedManagedIdentity;
    	      this.x509 = defaults.x509;
        }

        @CustomType.Setter
        public Builder systemAssignedManagedIdentity(@Nullable ManagedIdentityAuthenticationResponse systemAssignedManagedIdentity) {

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

            this.x509 = x509;
            return this;
        }
        public MqttBridgeRemoteBrokerAuthenticationMethodsResponse build() {
            final var _resultValue = new MqttBridgeRemoteBrokerAuthenticationMethodsResponse();
            _resultValue.systemAssignedManagedIdentity = systemAssignedManagedIdentity;
            _resultValue.x509 = x509;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy