Class CreateAbfsCredentialRequest
- java.lang.Object
-
- com.cloudera.cdp.replicationmanager.model.CreateAbfsCredentialRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-03-13T13:08:49.412-07:00") public class CreateAbfsCredentialRequest extends Object
Request object for creating ABFS cloud credentials. Currently supported cloud credentials: ABFS Access Key for Ambari clusters, ABFS Client Secret for CM clusters.
-
-
Constructor Summary
Constructors Constructor Description CreateAbfsCredentialRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getAccessKey()
Getter for accessKey.String
getClientId()
Getter for clientId.String
getClientSecretKey()
Getter for clientSecretKey.List<String>
getClusters()
Getter for clusters.String
getName()
Getter for name.String
getStorageAccountName()
Getter for storageAccountName.String
getTenantId()
Getter for tenantId.String
getType()
Getter for type.int
hashCode()
void
setAccessKey(String accessKey)
Setter for accessKey.void
setClientId(String clientId)
Setter for clientId.void
setClientSecretKey(String clientSecretKey)
Setter for clientSecretKey.void
setClusters(List<String> clusters)
Setter for clusters.void
setName(String name)
Setter for name.void
setStorageAccountName(String storageAccountName)
Setter for storageAccountName.void
setTenantId(String tenantId)
Setter for tenantId.void
setType(String type)
Setter for type.String
toString()
-
-
-
Method Detail
-
getName
public String getName()
Getter for name. Name of the credential.
-
setName
public void setName(String name)
Setter for name. Name of the credential.
-
getClusters
public List<String> getClusters()
Getter for clusters. List of cluster CRNs where the credential should be created.
-
setClusters
public void setClusters(List<String> clusters)
Setter for clusters. List of cluster CRNs where the credential should be created.
-
getType
public String getType()
Getter for type. Type of the credential. Additional required parameters by type: ACCESSKEY: storageAccountName, accessKey; CLIENTKEY: clientId, clientSecretKey, tenantId. Superfluous parameters are ignored. Providing ACCESSKEY will create an ABFS Access Key based account in Ambari. Providing CLIENTKEY will create an Azure Active Directory Service Principal account in Cloudera Manager. ACCESSKEY is only supported on Ambari, while CLIENTKEY is only supported on Cloudera Manager.
-
setType
public void setType(String type)
Setter for type. Type of the credential. Additional required parameters by type: ACCESSKEY: storageAccountName, accessKey; CLIENTKEY: clientId, clientSecretKey, tenantId. Superfluous parameters are ignored. Providing ACCESSKEY will create an ABFS Access Key based account in Ambari. Providing CLIENTKEY will create an Azure Active Directory Service Principal account in Cloudera Manager. ACCESSKEY is only supported on Ambari, while CLIENTKEY is only supported on Cloudera Manager.
-
getAccessKey
public String getAccessKey()
Getter for accessKey. ABFS access key.
-
setAccessKey
public void setAccessKey(String accessKey)
Setter for accessKey. ABFS access key.
-
getStorageAccountName
public String getStorageAccountName()
Getter for storageAccountName. ABFS storage account name.
-
setStorageAccountName
public void setStorageAccountName(String storageAccountName)
Setter for storageAccountName. ABFS storage account name.
-
getClientId
public String getClientId()
Getter for clientId. Client ID of an Active Directory service principal account.
-
setClientId
public void setClientId(String clientId)
Setter for clientId. Client ID of an Active Directory service principal account.
-
getClientSecretKey
public String getClientSecretKey()
Getter for clientSecretKey. Client Key of an Active Directory service principal account.
-
setClientSecretKey
public void setClientSecretKey(String clientSecretKey)
Setter for clientSecretKey. Client Key of an Active Directory service principal account.
-
getTenantId
public String getTenantId()
Getter for tenantId. Tenant ID of an Active Directory service principal account.
-
setTenantId
public void setTenantId(String tenantId)
Setter for tenantId. Tenant ID of an Active Directory service principal account.
-
-