Class AzureDataLakeStoreOutputDataSourceProperties
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.OAuthBasedDataSourceProperties
-
- com.azure.resourcemanager.streamanalytics.fluent.models.AzureDataLakeStoreOutputDataSourceProperties
-
public final class AzureDataLakeStoreOutputDataSourceProperties extends OAuthBasedDataSourceProperties
The properties that are associated with an Azure Data Lake Store.
-
-
Constructor Summary
Constructors Constructor Description AzureDataLakeStoreOutputDataSourceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accountName()
Get the accountName property: The name of the Azure Data Lake Store account.AuthenticationMode
authenticationMode()
Get the authenticationMode property: Authentication Mode.String
dateFormat()
Get the dateFormat property: The date format.String
filePathPrefix()
Get the filePathPrefix property: The location of the file to which the output should be written to.String
tenantId()
Get the tenantId property: The tenant id of the user used to obtain the refresh token.String
timeFormat()
Get the timeFormat property: The time format.void
validate()
Validates the instance.AzureDataLakeStoreOutputDataSourceProperties
withAccountName(String accountName)
Set the accountName property: The name of the Azure Data Lake Store account.AzureDataLakeStoreOutputDataSourceProperties
withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.AzureDataLakeStoreOutputDataSourceProperties
withDateFormat(String dateFormat)
Set the dateFormat property: The date format.AzureDataLakeStoreOutputDataSourceProperties
withFilePathPrefix(String filePathPrefix)
Set the filePathPrefix property: The location of the file to which the output should be written to.AzureDataLakeStoreOutputDataSourceProperties
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.AzureDataLakeStoreOutputDataSourceProperties
withTenantId(String tenantId)
Set the tenantId property: The tenant id of the user used to obtain the refresh token.AzureDataLakeStoreOutputDataSourceProperties
withTimeFormat(String timeFormat)
Set the timeFormat property: The time format.AzureDataLakeStoreOutputDataSourceProperties
withTokenUserDisplayName(String tokenUserDisplayName)
Set the tokenUserDisplayName property: The user display name of the user that was used to obtain the refresh token.AzureDataLakeStoreOutputDataSourceProperties
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
-
accountName
public String accountName()
Get the accountName property: The name of the Azure Data Lake Store account. Required on PUT (CreateOrReplace) requests.- Returns:
- the accountName value.
-
withAccountName
public AzureDataLakeStoreOutputDataSourceProperties withAccountName(String accountName)
Set the accountName property: The name of the Azure Data Lake Store account. Required on PUT (CreateOrReplace) requests.- Parameters:
accountName
- the accountName value to set.- Returns:
- the AzureDataLakeStoreOutputDataSourceProperties object itself.
-
tenantId
public String tenantId()
Get the tenantId property: The tenant id of the user used to obtain the refresh token. Required on PUT (CreateOrReplace) requests.- Returns:
- the tenantId value.
-
withTenantId
public AzureDataLakeStoreOutputDataSourceProperties withTenantId(String tenantId)
Set the tenantId property: The tenant id of the user used to obtain the refresh token. Required on PUT (CreateOrReplace) requests.- Parameters:
tenantId
- the tenantId value to set.- Returns:
- the AzureDataLakeStoreOutputDataSourceProperties object itself.
-
filePathPrefix
public String filePathPrefix()
Get the filePathPrefix property: The location of the file to which the output should be written to. Required on PUT (CreateOrReplace) requests.- Returns:
- the filePathPrefix value.
-
withFilePathPrefix
public AzureDataLakeStoreOutputDataSourceProperties withFilePathPrefix(String filePathPrefix)
Set the filePathPrefix property: The location of the file to which the output should be written to. Required on PUT (CreateOrReplace) requests.- Parameters:
filePathPrefix
- the filePathPrefix value to set.- Returns:
- the AzureDataLakeStoreOutputDataSourceProperties object itself.
-
dateFormat
public String dateFormat()
Get the dateFormat property: The date format. Wherever {date} appears in filePathPrefix, the value of this property is used as the date format instead.- Returns:
- the dateFormat value.
-
withDateFormat
public AzureDataLakeStoreOutputDataSourceProperties withDateFormat(String dateFormat)
Set the dateFormat property: The date format. Wherever {date} appears in filePathPrefix, the value of this property is used as the date format instead.- Parameters:
dateFormat
- the dateFormat value to set.- Returns:
- the AzureDataLakeStoreOutputDataSourceProperties object itself.
-
timeFormat
public String timeFormat()
Get the timeFormat property: The time format. Wherever {time} appears in filePathPrefix, the value of this property is used as the time format instead.- Returns:
- the timeFormat value.
-
withTimeFormat
public AzureDataLakeStoreOutputDataSourceProperties withTimeFormat(String timeFormat)
Set the timeFormat property: The time format. Wherever {time} appears in filePathPrefix, the value of this property is used as the time format instead.- Parameters:
timeFormat
- the timeFormat value to set.- Returns:
- the AzureDataLakeStoreOutputDataSourceProperties object itself.
-
authenticationMode
public AuthenticationMode authenticationMode()
Get the authenticationMode property: Authentication Mode.- Returns:
- the authenticationMode value.
-
withAuthenticationMode
public AzureDataLakeStoreOutputDataSourceProperties withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.- Parameters:
authenticationMode
- the authenticationMode value to set.- Returns:
- the AzureDataLakeStoreOutputDataSourceProperties object itself.
-
withRefreshToken
public AzureDataLakeStoreOutputDataSourceProperties 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 AzureDataLakeStoreOutputDataSourceProperties 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 AzureDataLakeStoreOutputDataSourceProperties 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.
-
-