Class PowerBIOutputDataSource
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.OutputDataSource
-
- com.azure.resourcemanager.streamanalytics.models.PowerBIOutputDataSource
-
public final class PowerBIOutputDataSource extends OutputDataSource
Describes a Power BI output data source.
-
-
Constructor Summary
Constructors Constructor Description PowerBIOutputDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationMode
authenticationMode()
Get the authenticationMode property: Authentication Mode.String
dataset()
Get the dataset property: The name of the Power BI dataset.String
groupId()
Get the groupId property: The ID of the Power BI group.String
groupName()
Get the groupName property: The name of the Power BI group.String
refreshToken()
Get 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.String
table()
Get the table property: The name of the Power BI table under the specified dataset.String
tokenUserDisplayName()
Get the tokenUserDisplayName property: The user display name of the user that was used to obtain the refresh token.String
tokenUserPrincipalName()
Get the tokenUserPrincipalName property: The user principal name (UPN) of the user that was used to obtain the refresh token.void
validate()
Validates the instance.PowerBIOutputDataSource
withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.PowerBIOutputDataSource
withDataset(String dataset)
Set the dataset property: The name of the Power BI dataset.PowerBIOutputDataSource
withGroupId(String groupId)
Set the groupId property: The ID of the Power BI group.PowerBIOutputDataSource
withGroupName(String groupName)
Set the groupName property: The name of the Power BI group.PowerBIOutputDataSource
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.PowerBIOutputDataSource
withTable(String table)
Set the table property: The name of the Power BI table under the specified dataset.PowerBIOutputDataSource
withTokenUserDisplayName(String tokenUserDisplayName)
Set the tokenUserDisplayName property: The user display name of the user that was used to obtain the refresh token.PowerBIOutputDataSource
withTokenUserPrincipalName(String tokenUserPrincipalName)
Set the tokenUserPrincipalName property: The user principal name (UPN) of the user that was used to obtain the refresh token.
-
-
-
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 PowerBIOutputDataSource 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 PowerBIOutputDataSource 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 PowerBIOutputDataSource 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 PowerBIOutputDataSource object itself.
-
groupId
public String groupId()
Get the groupId property: The ID of the Power BI group.- Returns:
- the groupId value.
-
withGroupId
public PowerBIOutputDataSource withGroupId(String groupId)
Set the groupId property: The ID of the Power BI group.- Parameters:
groupId
- the groupId value to set.- Returns:
- the PowerBIOutputDataSource 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 PowerBIOutputDataSource 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 PowerBIOutputDataSource object itself.
-
authenticationMode
public AuthenticationMode authenticationMode()
Get the authenticationMode property: Authentication Mode.- Returns:
- the authenticationMode value.
-
withAuthenticationMode
public PowerBIOutputDataSource withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.- Parameters:
authenticationMode
- the authenticationMode value to set.- Returns:
- the PowerBIOutputDataSource object itself.
-
refreshToken
public String refreshToken()
Get 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.- Returns:
- the refreshToken value.
-
withRefreshToken
public PowerBIOutputDataSource 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.- Parameters:
refreshToken
- the refreshToken value to set.- Returns:
- the PowerBIOutputDataSource object itself.
-
tokenUserPrincipalName
public String tokenUserPrincipalName()
Get 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.- Returns:
- the tokenUserPrincipalName value.
-
withTokenUserPrincipalName
public PowerBIOutputDataSource 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.- Parameters:
tokenUserPrincipalName
- the tokenUserPrincipalName value to set.- Returns:
- the PowerBIOutputDataSource object itself.
-
tokenUserDisplayName
public String tokenUserDisplayName()
Get 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.- Returns:
- the tokenUserDisplayName value.
-
withTokenUserDisplayName
public PowerBIOutputDataSource 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.- Parameters:
tokenUserDisplayName
- the tokenUserDisplayName value to set.- Returns:
- the PowerBIOutputDataSource object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classOutputDataSource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-