Class AzureDataLakeStoreOutputDataSource
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.OutputDataSource
-
- com.azure.resourcemanager.streamanalytics.models.AzureDataLakeStoreOutputDataSource
-
public final class AzureDataLakeStoreOutputDataSource extends OutputDataSource
Describes an Azure Data Lake Store output data source.
-
-
Constructor Summary
Constructors Constructor Description AzureDataLakeStoreOutputDataSource()
-
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
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
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.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.AzureDataLakeStoreOutputDataSource
withAccountName(String accountName)
Set the accountName property: The name of the Azure Data Lake Store account.AzureDataLakeStoreOutputDataSource
withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.AzureDataLakeStoreOutputDataSource
withDateFormat(String dateFormat)
Set the dateFormat property: The date format.AzureDataLakeStoreOutputDataSource
withFilePathPrefix(String filePathPrefix)
Set the filePathPrefix property: The location of the file to which the output should be written to.AzureDataLakeStoreOutputDataSource
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.AzureDataLakeStoreOutputDataSource
withTenantId(String tenantId)
Set the tenantId property: The tenant id of the user used to obtain the refresh token.AzureDataLakeStoreOutputDataSource
withTimeFormat(String timeFormat)
Set the timeFormat property: The time format.AzureDataLakeStoreOutputDataSource
withTokenUserDisplayName(String tokenUserDisplayName)
Set the tokenUserDisplayName property: The user display name of the user that was used to obtain the refresh token.AzureDataLakeStoreOutputDataSource
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
-
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 AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource object itself.
-
authenticationMode
public AuthenticationMode authenticationMode()
Get the authenticationMode property: Authentication Mode.- Returns:
- the authenticationMode value.
-
withAuthenticationMode
public AzureDataLakeStoreOutputDataSource withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.- Parameters:
authenticationMode
- the authenticationMode value to set.- Returns:
- the AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource 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 AzureDataLakeStoreOutputDataSource object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classOutputDataSource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-