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

com.pulumi.azurenative.offazure.inputs.SiteSpnPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.offazure.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Class for site properties.
 * 
 */
public final class SiteSpnPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final SiteSpnPropertiesArgs Empty = new SiteSpnPropertiesArgs();

    /**
     * Gets or sets the AAD Authority URL which was used to request the token for
     * the
     *             service principal.
     * 
     */
    @Import(name="aadAuthority")
    private @Nullable Output aadAuthority;

    /**
     * @return Gets or sets the AAD Authority URL which was used to request the token for
     * the
     *             service principal.
     * 
     */
    public Optional> aadAuthority() {
        return Optional.ofNullable(this.aadAuthority);
    }

    /**
     * Gets or sets the application/client Id for the service principal with which
     * the
     *             on-premise management/data plane components would communicate
     * with our Azure
     *             services.
     * 
     */
    @Import(name="applicationId")
    private @Nullable Output applicationId;

    /**
     * @return Gets or sets the application/client Id for the service principal with which
     * the
     *             on-premise management/data plane components would communicate
     * with our Azure
     *             services.
     * 
     */
    public Optional> applicationId() {
        return Optional.ofNullable(this.applicationId);
    }

    /**
     * Gets or sets the intended audience for the service principal.
     * 
     */
    @Import(name="audience")
    private @Nullable Output audience;

    /**
     * @return Gets or sets the intended audience for the service principal.
     * 
     */
    public Optional> audience() {
        return Optional.ofNullable(this.audience);
    }

    /**
     * Gets or sets the object Id of the service principal with which the on-premise
     * 
     *            management/data plane components would communicate with our Azure
     * services.
     * 
     */
    @Import(name="objectId")
    private @Nullable Output objectId;

    /**
     * @return Gets or sets the object Id of the service principal with which the on-premise
     * 
     *            management/data plane components would communicate with our Azure
     * services.
     * 
     */
    public Optional> objectId() {
        return Optional.ofNullable(this.objectId);
    }

    /**
     * Gets or sets the raw certificate data for building certificate expiry flows.
     * 
     */
    @Import(name="rawCertData")
    private @Nullable Output rawCertData;

    /**
     * @return Gets or sets the raw certificate data for building certificate expiry flows.
     * 
     */
    public Optional> rawCertData() {
        return Optional.ofNullable(this.rawCertData);
    }

    /**
     * Gets or sets the tenant Id for the service principal with which the
     * on-premise
     *             management/data plane components would communicate with
     * our Azure services.
     * 
     */
    @Import(name="tenantId")
    private @Nullable Output tenantId;

    /**
     * @return Gets or sets the tenant Id for the service principal with which the
     * on-premise
     *             management/data plane components would communicate with
     * our Azure services.
     * 
     */
    public Optional> tenantId() {
        return Optional.ofNullable(this.tenantId);
    }

    private SiteSpnPropertiesArgs() {}

    private SiteSpnPropertiesArgs(SiteSpnPropertiesArgs $) {
        this.aadAuthority = $.aadAuthority;
        this.applicationId = $.applicationId;
        this.audience = $.audience;
        this.objectId = $.objectId;
        this.rawCertData = $.rawCertData;
        this.tenantId = $.tenantId;
    }

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

    public static final class Builder {
        private SiteSpnPropertiesArgs $;

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

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

        /**
         * @param aadAuthority Gets or sets the AAD Authority URL which was used to request the token for
         * the
         *             service principal.
         * 
         * @return builder
         * 
         */
        public Builder aadAuthority(@Nullable Output aadAuthority) {
            $.aadAuthority = aadAuthority;
            return this;
        }

        /**
         * @param aadAuthority Gets or sets the AAD Authority URL which was used to request the token for
         * the
         *             service principal.
         * 
         * @return builder
         * 
         */
        public Builder aadAuthority(String aadAuthority) {
            return aadAuthority(Output.of(aadAuthority));
        }

        /**
         * @param applicationId Gets or sets the application/client Id for the service principal with which
         * the
         *             on-premise management/data plane components would communicate
         * with our Azure
         *             services.
         * 
         * @return builder
         * 
         */
        public Builder applicationId(@Nullable Output applicationId) {
            $.applicationId = applicationId;
            return this;
        }

        /**
         * @param applicationId Gets or sets the application/client Id for the service principal with which
         * the
         *             on-premise management/data plane components would communicate
         * with our Azure
         *             services.
         * 
         * @return builder
         * 
         */
        public Builder applicationId(String applicationId) {
            return applicationId(Output.of(applicationId));
        }

        /**
         * @param audience Gets or sets the intended audience for the service principal.
         * 
         * @return builder
         * 
         */
        public Builder audience(@Nullable Output audience) {
            $.audience = audience;
            return this;
        }

        /**
         * @param audience Gets or sets the intended audience for the service principal.
         * 
         * @return builder
         * 
         */
        public Builder audience(String audience) {
            return audience(Output.of(audience));
        }

        /**
         * @param objectId Gets or sets the object Id of the service principal with which the on-premise
         * 
         *            management/data plane components would communicate with our Azure
         * services.
         * 
         * @return builder
         * 
         */
        public Builder objectId(@Nullable Output objectId) {
            $.objectId = objectId;
            return this;
        }

        /**
         * @param objectId Gets or sets the object Id of the service principal with which the on-premise
         * 
         *            management/data plane components would communicate with our Azure
         * services.
         * 
         * @return builder
         * 
         */
        public Builder objectId(String objectId) {
            return objectId(Output.of(objectId));
        }

        /**
         * @param rawCertData Gets or sets the raw certificate data for building certificate expiry flows.
         * 
         * @return builder
         * 
         */
        public Builder rawCertData(@Nullable Output rawCertData) {
            $.rawCertData = rawCertData;
            return this;
        }

        /**
         * @param rawCertData Gets or sets the raw certificate data for building certificate expiry flows.
         * 
         * @return builder
         * 
         */
        public Builder rawCertData(String rawCertData) {
            return rawCertData(Output.of(rawCertData));
        }

        /**
         * @param tenantId Gets or sets the tenant Id for the service principal with which the
         * on-premise
         *             management/data plane components would communicate with
         * our Azure services.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(@Nullable Output tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        /**
         * @param tenantId Gets or sets the tenant Id for the service principal with which the
         * on-premise
         *             management/data plane components would communicate with
         * our Azure services.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(String tenantId) {
            return tenantId(Output.of(tenantId));
        }

        public SiteSpnPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy