Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.storage;
import com.fasterxml.jackson.annotation.JsonProperty;
Settings for Azure Files identity based authentication.
/**
* Settings for Azure Files identity based authentication.
*/
public class AzureFilesIdentityBasedAuthentication {
Indicates the directory service used. Possible values include: 'None',
'AADDS', 'AD'.
/**
* Indicates the directory service used. Possible values include: 'None',
* 'AADDS', 'AD'.
*/
@JsonProperty(value = "directoryServiceOptions", required = true)
private DirectoryServiceOptions directoryServiceOptions;
Required if choose AD.
/**
* Required if choose AD.
*/
@JsonProperty(value = "activeDirectoryProperties")
private ActiveDirectoryProperties activeDirectoryProperties;
Get indicates the directory service used. Possible values include: 'None', 'AADDS', 'AD'.
Returns: the directoryServiceOptions value
/**
* Get indicates the directory service used. Possible values include: 'None', 'AADDS', 'AD'.
*
* @return the directoryServiceOptions value
*/
public DirectoryServiceOptions directoryServiceOptions() {
return this.directoryServiceOptions;
}
Set indicates the directory service used. Possible values include: 'None', 'AADDS', 'AD'.
Params: - directoryServiceOptions – the directoryServiceOptions value to set
Returns: the AzureFilesIdentityBasedAuthentication object itself.
/**
* Set indicates the directory service used. Possible values include: 'None', 'AADDS', 'AD'.
*
* @param directoryServiceOptions the directoryServiceOptions value to set
* @return the AzureFilesIdentityBasedAuthentication object itself.
*/
public AzureFilesIdentityBasedAuthentication withDirectoryServiceOptions(DirectoryServiceOptions directoryServiceOptions) {
this.directoryServiceOptions = directoryServiceOptions;
return this;
}
Get required if choose AD.
Returns: the activeDirectoryProperties value
/**
* Get required if choose AD.
*
* @return the activeDirectoryProperties value
*/
public ActiveDirectoryProperties activeDirectoryProperties() {
return this.activeDirectoryProperties;
}
Set required if choose AD.
Params: - activeDirectoryProperties – the activeDirectoryProperties value to set
Returns: the AzureFilesIdentityBasedAuthentication object itself.
/**
* Set required if choose AD.
*
* @param activeDirectoryProperties the activeDirectoryProperties value to set
* @return the AzureFilesIdentityBasedAuthentication object itself.
*/
public AzureFilesIdentityBasedAuthentication withActiveDirectoryProperties(ActiveDirectoryProperties activeDirectoryProperties) {
this.activeDirectoryProperties = activeDirectoryProperties;
return this;
}
}