CertificateAddParameter Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. CertificateAddParameter
- com.
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 |
---|---|
Certificate |
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. |
Certificate |
withCertificateFormat(CertificateFormat certificateFormat)
Set possible values include: 'pfx', 'cer'. |
Certificate |
withData(String data)
Set the data value. |
Certificate |
withPassword(String password)
Set this is required if the certificate format is pfx. It should be omitted if the certificate format is cer. |
Certificate |
withThumbprint(String thumbprint)
Set the thumbprint value. |
Certificate |
withThumbprintAlgorithm(String thumbprintAlgorithm)
Set the thumbprintAlgorithm value. |
Method Details
certificateFormat
public CertificateFormat certificateFormat()
Get possible values include: 'pfx', 'cer'.
Returns:
data
public String data()
Get the data value.
Returns:
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:
thumbprint
public String thumbprint()
Get the thumbprint value.
Returns:
thumbprintAlgorithm
public String thumbprintAlgorithm()
Get the thumbprintAlgorithm value.
Returns:
withCertificateFormat
public CertificateAddParameter withCertificateFormat(CertificateFormat certificateFormat)
Set possible values include: 'pfx', 'cer'.
Parameters:
Returns:
withData
public CertificateAddParameter withData(String data)
Set the data value.
Parameters:
Returns:
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:
Returns:
withThumbprint
public CertificateAddParameter withThumbprint(String thumbprint)
Set the thumbprint value.
Parameters:
Returns:
withThumbprintAlgorithm
public CertificateAddParameter withThumbprintAlgorithm(String thumbprintAlgorithm)
Set the thumbprintAlgorithm value.
Parameters:
Returns: