CertificateAddParameter Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.CertificateAddParameter

public class CertificateAddParameter

A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine.

Method Summary

Modifier and Type Method and Description
CertificateFormat certificateFormat()

Get possible values include: 'pfx', 'cer'.

String data()

Get the data value.

String password()

Get this is required if the certificate format is pfx. It should be omitted if the certificate format is cer.

String thumbprint()

Get the thumbprint value.

String thumbprintAlgorithm()

Get the thumbprintAlgorithm value.

CertificateAddParameter withCertificateFormat(CertificateFormat certificateFormat)

Set possible values include: 'pfx', 'cer'.

CertificateAddParameter withData(String data)

Set the data value.

CertificateAddParameter withPassword(String password)

Set this is required if the certificate format is pfx. It should be omitted if the certificate format is cer.

CertificateAddParameter withThumbprint(String thumbprint)

Set the thumbprint value.

CertificateAddParameter withThumbprintAlgorithm(String thumbprintAlgorithm)

Set the thumbprintAlgorithm value.

Method Details

certificateFormat

public CertificateFormat certificateFormat()

Get possible values include: 'pfx', 'cer'.

Returns:

the certificateFormat value

data

public String data()

Get the data value.

Returns:

the data value

password

public String password()

Get this is required if the certificate format is pfx. It should be omitted if the certificate format is cer.

Returns:

the password value

thumbprint

public String thumbprint()

Get the thumbprint value.

Returns:

the thumbprint value

thumbprintAlgorithm

public String thumbprintAlgorithm()

Get the thumbprintAlgorithm value.

Returns:

the thumbprintAlgorithm value

withCertificateFormat

public CertificateAddParameter withCertificateFormat(CertificateFormat certificateFormat)

Set possible values include: 'pfx', 'cer'.

Parameters:

certificateFormat - the certificateFormat value to set

Returns:

the CertificateAddParameter object itself.

withData

public CertificateAddParameter withData(String data)

Set the data value.

Parameters:

data - the data value to set

Returns:

the CertificateAddParameter object itself.

withPassword

public CertificateAddParameter withPassword(String password)

Set this is required if the certificate format is pfx. It should be omitted if the certificate format is cer.

Parameters:

password - the password value to set

Returns:

the CertificateAddParameter object itself.

withThumbprint

public CertificateAddParameter withThumbprint(String thumbprint)

Set the thumbprint value.

Parameters:

thumbprint - the thumbprint value to set

Returns:

the CertificateAddParameter object itself.

withThumbprintAlgorithm

public CertificateAddParameter withThumbprintAlgorithm(String thumbprintAlgorithm)

Set the thumbprintAlgorithm value.

Parameters:

thumbprintAlgorithm - the thumbprintAlgorithm value to set

Returns:

the CertificateAddParameter object itself.

Applies to