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

com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs 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.iotoperations.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


/**
 * DataFlowEndpoint Authentication SystemAssignedManagedIdentity properties
 * 
 */
public final class DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs Empty = new DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs();

    /**
     * Audience of the service to authenticate against. Optional; defaults to the audience for Service host configuration.
     * 
     */
    @Import(name="audience", required=true)
    private Output audience;

    /**
     * @return Audience of the service to authenticate against. Optional; defaults to the audience for Service host configuration.
     * 
     */
    public Output audience() {
        return this.audience;
    }

    private DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs() {}

    private DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs(DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs $) {
        this.audience = $.audience;
    }

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

    public static final class Builder {
        private DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs $;

        public Builder() {
            $ = new DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs();
        }

        public Builder(DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs defaults) {
            $ = new DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param audience Audience of the service to authenticate against. Optional; defaults to the audience for Service host configuration.
         * 
         * @return builder
         * 
         */
        public Builder audience(Output audience) {
            $.audience = audience;
            return this;
        }

        /**
         * @param audience Audience of the service to authenticate against. Optional; defaults to the audience for Service host configuration.
         * 
         * @return builder
         * 
         */
        public Builder audience(String audience) {
            return audience(Output.of(audience));
        }

        public DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs build() {
            if ($.audience == null) {
                throw new MissingRequiredPropertyException("DataFlowEndpointAuthenticationSystemAssignedManagedIdentityArgs", "audience");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy