ClientCertificateCommonName Class

  • java.lang.Object
    • com.azure.resourcemanager.servicefabric.models.ClientCertificateCommonName

public final class ClientCertificateCommonName

Describes the client certificate details using common name.

Constructor Summary

Constructor Description
ClientCertificateCommonName()

Creates an instance of ClientCertificateCommonName class.

Method Summary

Modifier and Type Method and Description
String certificateCommonName()

Get the certificateCommonName property: The common name of the client certificate.

String certificateIssuerThumbprint()

Get the certificateIssuerThumbprint property: The issuer thumbprint of the client certificate.

boolean isAdmin()

Get the isAdmin property: Indicates if the client certificate has admin access to the cluster.

void validate()

Validates the instance.

ClientCertificateCommonName withCertificateCommonName(String certificateCommonName)

Set the certificateCommonName property: The common name of the client certificate.

ClientCertificateCommonName withCertificateIssuerThumbprint(String certificateIssuerThumbprint)

Set the certificateIssuerThumbprint property: The issuer thumbprint of the client certificate.

ClientCertificateCommonName withIsAdmin(boolean isAdmin)

Set the isAdmin property: Indicates if the client certificate has admin access to the cluster.

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:

the certificateCommonName value.

certificateIssuerThumbprint

public String certificateIssuerThumbprint()

Get the certificateIssuerThumbprint property: The issuer thumbprint of the client certificate.

Returns:

the certificateIssuerThumbprint value.

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:

the isAdmin value.

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:

certificateCommonName - the certificateCommonName value to set.

Returns:

the ClientCertificateCommonName object itself.

withCertificateIssuerThumbprint

public ClientCertificateCommonName withCertificateIssuerThumbprint(String certificateIssuerThumbprint)

Set the certificateIssuerThumbprint property: The issuer thumbprint of the client certificate.

Parameters:

certificateIssuerThumbprint - the certificateIssuerThumbprint value to set.

Returns:

the ClientCertificateCommonName object itself.

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:

isAdmin - the isAdmin value to set.

Returns:

the ClientCertificateCommonName object itself.

Applies to