ClientCertificateCommonName Class
- java.
lang. Object - com.
azure. resourcemanager. servicefabric. models. ClientCertificateCommonName
- com.
public final class ClientCertificateCommonName
Describes the client certificate details using common name.
Constructor Summary
Constructor | Description |
---|---|
ClientCertificateCommonName() |
Creates an instance of Client |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
certificateCommonName()
Get the certificate |
String |
certificateIssuerThumbprint()
Get the certificate |
boolean |
isAdmin()
Get the is |
void |
validate()
Validates the instance. |
Client |
withCertificateCommonName(String certificateCommonName)
Set the certificate |
Client |
withCertificateIssuerThumbprint(String certificateIssuerThumbprint)
Set the certificate |
Client |
withIsAdmin(boolean isAdmin)
Set the is |
Methods inherited from java.lang.Object
Constructor Details
ClientCertificateCommonName
public ClientCertificateCommonName()
Creates an instance of ClientCertificateCommonName class.
Method Details
certificateCommonName
public String certificateCommonName()
Get the certificateCommonName property: The common name of the client certificate.
Returns:
certificateIssuerThumbprint
public String certificateIssuerThumbprint()
Get the certificateIssuerThumbprint property: The issuer thumbprint of the client certificate.
Returns:
isAdmin
public boolean isAdmin()
Get the isAdmin property: Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster.
Returns:
validate
public void validate()
Validates the instance.
withCertificateCommonName
public ClientCertificateCommonName withCertificateCommonName(String certificateCommonName)
Set the certificateCommonName property: The common name of the client certificate.
Parameters:
Returns:
withCertificateIssuerThumbprint
public ClientCertificateCommonName withCertificateIssuerThumbprint(String certificateIssuerThumbprint)
Set the certificateIssuerThumbprint property: The issuer thumbprint of the client certificate.
Parameters:
Returns:
withIsAdmin
public ClientCertificateCommonName withIsAdmin(boolean isAdmin)
Set the isAdmin property: Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster.
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