Class PowerBIOutputDataSourceProperties
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.OAuthBasedDataSourceProperties
-
- com.azure.resourcemanager.streamanalytics.fluent.models.PowerBIOutputDataSourceProperties
-
public final class PowerBIOutputDataSourceProperties extends OAuthBasedDataSourceProperties
The properties that are associated with a Power BI output.
-
-
Constructor Summary
Constructors Constructor Description PowerBIOutputDataSourceProperties()
-
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
table()
Get the table property: The name of the Power BI table under the specified dataset.void
validate()
Validates the instance.PowerBIOutputDataSourceProperties
withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.PowerBIOutputDataSourceProperties
withDataset(String dataset)
Set the dataset property: The name of the Power BI dataset.PowerBIOutputDataSourceProperties
withGroupId(String groupId)
Set the groupId property: The ID of the Power BI group.PowerBIOutputDataSourceProperties
withGroupName(String groupName)
Set the groupName property: The name of the Power BI group.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.PowerBIOutputDataSourceProperties
withTable(String table)
Set the table property: The name of the Power BI table under the specified dataset.PowerBIOutputDataSourceProperties
withTokenUserDisplayName(String tokenUserDisplayName)
Set the tokenUserDisplayName property: The user display name of the user that was used to obtain the refresh token.PowerBIOutputDataSourceProperties
withTokenUserPrincipalName(String tokenUserPrincipalName)
Set the tokenUserPrincipalName property: The user principal name (UPN) of the user that was used to obtain the refresh token.-
Methods inherited from class com.azure.resourcemanager.streamanalytics.models.OAuthBasedDataSourceProperties
refreshToken, tokenUserDisplayName, tokenUserPrincipalName
-
-
-
-
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 classOAuthBasedDataSourceProperties
- 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 classOAuthBasedDataSourceProperties
- 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 classOAuthBasedDataSourceProperties
- Parameters:
tokenUserDisplayName
- the tokenUserDisplayName value to set.- Returns:
- the OAuthBasedDataSourceProperties object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classOAuthBasedDataSourceProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-