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.
Constructor Summary
Constructor | Description | |
---|---|---|
CertificateAddParameter() |
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 must be omitted if the Certificate format is cer. |
String |
thumbprint()
Get the thumbprint value. |
String |
thumbprintAlgorithm()
Get the thumbprint |
Certificate |
withCertificateFormat(CertificateFormat certificateFormat)
Set possible values include: 'pfx', 'cer'. |
Certificate |
withData(String data)
Set the data value. |
Certificate |
withPassword(String password)
Set this must be omitted if the Certificate format is cer. |
Certificate |
withThumbprint(String thumbprint)
Set the thumbprint value. |
Certificate |
withThumbprintAlgorithm(String thumbprintAlgorithm)
Set the thumbprint |
Methods inherited from java.lang.Object
Constructor Details
CertificateAddParameter
public CertificateAddParameter()
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 must 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 must 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:
Applies to
Azure SDK for Java