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

com.pulumi.azurenative.streamanalytics.outputs.PowerBIOutputDataSourceResponse Maven / Gradle / Ivy

There is a newer version: 2.82.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.streamanalytics.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class PowerBIOutputDataSourceResponse {
    /**
     * @return Authentication Mode.
     * 
     */
    private @Nullable String authenticationMode;
    /**
     * @return The name of the Power BI dataset. Required on PUT (CreateOrReplace) requests.
     * 
     */
    private @Nullable String dataset;
    /**
     * @return The ID of the Power BI group.
     * 
     */
    private @Nullable String groupId;
    /**
     * @return The name of the Power BI group. Use this property to help remember which specific Power BI group id was used.
     * 
     */
    private @Nullable String groupName;
    /**
     * @return A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests.
     * 
     */
    private @Nullable String refreshToken;
    /**
     * @return The name of the Power BI table under the specified dataset. Required on PUT (CreateOrReplace) requests.
     * 
     */
    private @Nullable String table;
    /**
     * @return The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token.
     * 
     */
    private @Nullable String tokenUserDisplayName;
    /**
     * @return The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token.
     * 
     */
    private @Nullable String tokenUserPrincipalName;
    /**
     * @return Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.
     * Expected value is 'PowerBI'.
     * 
     */
    private String type;

    private PowerBIOutputDataSourceResponse() {}
    /**
     * @return Authentication Mode.
     * 
     */
    public Optional authenticationMode() {
        return Optional.ofNullable(this.authenticationMode);
    }
    /**
     * @return The name of the Power BI dataset. Required on PUT (CreateOrReplace) requests.
     * 
     */
    public Optional dataset() {
        return Optional.ofNullable(this.dataset);
    }
    /**
     * @return The ID of the Power BI group.
     * 
     */
    public Optional groupId() {
        return Optional.ofNullable(this.groupId);
    }
    /**
     * @return The name of the Power BI group. Use this property to help remember which specific Power BI group id was used.
     * 
     */
    public Optional groupName() {
        return Optional.ofNullable(this.groupName);
    }
    /**
     * @return A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests.
     * 
     */
    public Optional refreshToken() {
        return Optional.ofNullable(this.refreshToken);
    }
    /**
     * @return The name of the Power BI table under the specified dataset. Required on PUT (CreateOrReplace) requests.
     * 
     */
    public Optional table() {
        return Optional.ofNullable(this.table);
    }
    /**
     * @return The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token.
     * 
     */
    public Optional tokenUserDisplayName() {
        return Optional.ofNullable(this.tokenUserDisplayName);
    }
    /**
     * @return The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token.
     * 
     */
    public Optional tokenUserPrincipalName() {
        return Optional.ofNullable(this.tokenUserPrincipalName);
    }
    /**
     * @return Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.
     * Expected value is 'PowerBI'.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(PowerBIOutputDataSourceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String authenticationMode;
        private @Nullable String dataset;
        private @Nullable String groupId;
        private @Nullable String groupName;
        private @Nullable String refreshToken;
        private @Nullable String table;
        private @Nullable String tokenUserDisplayName;
        private @Nullable String tokenUserPrincipalName;
        private String type;
        public Builder() {}
        public Builder(PowerBIOutputDataSourceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.authenticationMode = defaults.authenticationMode;
    	      this.dataset = defaults.dataset;
    	      this.groupId = defaults.groupId;
    	      this.groupName = defaults.groupName;
    	      this.refreshToken = defaults.refreshToken;
    	      this.table = defaults.table;
    	      this.tokenUserDisplayName = defaults.tokenUserDisplayName;
    	      this.tokenUserPrincipalName = defaults.tokenUserPrincipalName;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder authenticationMode(@Nullable String authenticationMode) {

            this.authenticationMode = authenticationMode;
            return this;
        }
        @CustomType.Setter
        public Builder dataset(@Nullable String dataset) {

            this.dataset = dataset;
            return this;
        }
        @CustomType.Setter
        public Builder groupId(@Nullable String groupId) {

            this.groupId = groupId;
            return this;
        }
        @CustomType.Setter
        public Builder groupName(@Nullable String groupName) {

            this.groupName = groupName;
            return this;
        }
        @CustomType.Setter
        public Builder refreshToken(@Nullable String refreshToken) {

            this.refreshToken = refreshToken;
            return this;
        }
        @CustomType.Setter
        public Builder table(@Nullable String table) {

            this.table = table;
            return this;
        }
        @CustomType.Setter
        public Builder tokenUserDisplayName(@Nullable String tokenUserDisplayName) {

            this.tokenUserDisplayName = tokenUserDisplayName;
            return this;
        }
        @CustomType.Setter
        public Builder tokenUserPrincipalName(@Nullable String tokenUserPrincipalName) {

            this.tokenUserPrincipalName = tokenUserPrincipalName;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("PowerBIOutputDataSourceResponse", "type");
            }
            this.type = type;
            return this;
        }
        public PowerBIOutputDataSourceResponse build() {
            final var _resultValue = new PowerBIOutputDataSourceResponse();
            _resultValue.authenticationMode = authenticationMode;
            _resultValue.dataset = dataset;
            _resultValue.groupId = groupId;
            _resultValue.groupName = groupName;
            _resultValue.refreshToken = refreshToken;
            _resultValue.table = table;
            _resultValue.tokenUserDisplayName = tokenUserDisplayName;
            _resultValue.tokenUserPrincipalName = tokenUserPrincipalName;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy