ServicePrincipalProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. ServicePrincipalProperties
- com.
public final class ServicePrincipalProperties
Details of the service principal.
Constructor Summary
Constructor | Description |
---|---|
ServicePrincipalProperties() |
Creates an instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
applicationId()
Get the application |
String |
secret()
Get the secret property: A secret string that the application uses to prove its identity, also can be referred to as application password (write only). |
void |
validate()
Validates the instance. |
Service |
withApplicationId(String applicationId)
Set the application |
Service |
withSecret(String secret)
Set the secret property: A secret string that the application uses to prove its identity, also can be referred to as application password (write only). |
Methods inherited from java.lang.Object
Constructor Details
ServicePrincipalProperties
public ServicePrincipalProperties()
Creates an instance of ServicePrincipalProperties class.
Method Details
applicationId
public String applicationId()
Get the applicationId property: Application ID of service principal.
Returns:
secret
public String secret()
Get the secret property: A secret string that the application uses to prove its identity, also can be referred to as application password (write only).
Returns:
validate
public void validate()
Validates the instance.
withApplicationId
public ServicePrincipalProperties withApplicationId(String applicationId)
Set the applicationId property: Application ID of service principal.
Parameters:
Returns:
withSecret
public ServicePrincipalProperties withSecret(String secret)
Set the secret property: A secret string that the application uses to prove its identity, also can be referred to as application password (write only).
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for