ClientCertificateCommonName Class
- java.
lang. Object - com.
azure. resourcemanager. servicefabric. models. ClientCertificateCommonName
- com.
Implements
public final class ClientCertificateCommonName
implements JsonSerializable<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 |
|
static
Client |
fromJson(JsonReader jsonReader)
Reads an instance of Client |
| boolean |
isAdmin()
Get the is |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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:
fromJson
public static ClientCertificateCommonName fromJson(JsonReader jsonReader)
Reads an instance of ClientCertificateCommonName from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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: