Class PowerBIOutputDataSourceProperties


  • public final class PowerBIOutputDataSourceProperties
    extends OAuthBasedDataSourceProperties
    The properties that are associated with a Power BI output.
    • Constructor Detail

      • PowerBIOutputDataSourceProperties

        public PowerBIOutputDataSourceProperties()
    • Method Detail

      • dataset

        public String dataset()
        Get the dataset property: The name of the Power BI dataset. Required on PUT (CreateOrReplace) requests.
        Returns:
        the dataset value.
      • withDataset

        public PowerBIOutputDataSourceProperties withDataset​(String dataset)
        Set the dataset property: The name of the Power BI dataset. Required on PUT (CreateOrReplace) requests.
        Parameters:
        dataset - the dataset value to set.
        Returns:
        the PowerBIOutputDataSourceProperties object itself.
      • table

        public String table()
        Get the table property: The name of the Power BI table under the specified dataset. Required on PUT (CreateOrReplace) requests.
        Returns:
        the table value.
      • withTable

        public PowerBIOutputDataSourceProperties withTable​(String table)
        Set the table property: The name of the Power BI table under the specified dataset. Required on PUT (CreateOrReplace) requests.
        Parameters:
        table - the table value to set.
        Returns:
        the PowerBIOutputDataSourceProperties object itself.
      • groupId

        public String groupId()
        Get the groupId property: The ID of the Power BI group.
        Returns:
        the groupId value.
      • withGroupId

        public PowerBIOutputDataSourceProperties withGroupId​(String groupId)
        Set the groupId property: The ID of the Power BI group.
        Parameters:
        groupId - the groupId value to set.
        Returns:
        the PowerBIOutputDataSourceProperties object itself.
      • groupName

        public String groupName()
        Get the groupName property: The name of the Power BI group. Use this property to help remember which specific Power BI group id was used.
        Returns:
        the groupName value.
      • withGroupName

        public PowerBIOutputDataSourceProperties withGroupName​(String groupName)
        Set the groupName property: The name of the Power BI group. Use this property to help remember which specific Power BI group id was used.
        Parameters:
        groupName - the groupName value to set.
        Returns:
        the PowerBIOutputDataSourceProperties object itself.
      • authenticationMode

        public AuthenticationMode authenticationMode()
        Get the authenticationMode property: Authentication Mode.
        Returns:
        the authenticationMode value.
      • withAuthenticationMode

        public PowerBIOutputDataSourceProperties withAuthenticationMode​(AuthenticationMode authenticationMode)
        Set the authenticationMode property: Authentication Mode.
        Parameters:
        authenticationMode - the authenticationMode value to set.
        Returns:
        the PowerBIOutputDataSourceProperties object itself.
      • withRefreshToken

        public PowerBIOutputDataSourceProperties withRefreshToken​(String refreshToken)
        Set the refreshToken property: 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.
        Overrides:
        withRefreshToken in class OAuthBasedDataSourceProperties
        Parameters:
        refreshToken - the refreshToken value to set.
        Returns:
        the OAuthBasedDataSourceProperties object itself.
      • withTokenUserPrincipalName

        public PowerBIOutputDataSourceProperties withTokenUserPrincipalName​(String tokenUserPrincipalName)
        Set the tokenUserPrincipalName property: 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.
        Overrides:
        withTokenUserPrincipalName in class OAuthBasedDataSourceProperties
        Parameters:
        tokenUserPrincipalName - the tokenUserPrincipalName value to set.
        Returns:
        the OAuthBasedDataSourceProperties object itself.
      • withTokenUserDisplayName

        public PowerBIOutputDataSourceProperties withTokenUserDisplayName​(String tokenUserDisplayName)
        Set the tokenUserDisplayName property: 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.
        Overrides:
        withTokenUserDisplayName in class OAuthBasedDataSourceProperties
        Parameters:
        tokenUserDisplayName - the tokenUserDisplayName value to set.
        Returns:
        the OAuthBasedDataSourceProperties object itself.