Class CertificateAddParameter
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.CertificateAddParameter
-
public class CertificateAddParameter extends Object
A Certificate that can be installed on Compute Nodes and can be used to authenticate operations on the machine.
-
-
Constructor Summary
Constructors Constructor Description CertificateAddParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateFormat
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 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 must 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 Detail
-
thumbprint
public String thumbprint()
Get the thumbprint value.- Returns:
- the thumbprint value
-
withThumbprint
public CertificateAddParameter withThumbprint(String thumbprint)
Set the thumbprint value.- Parameters:
thumbprint
- the thumbprint value to set- Returns:
- the CertificateAddParameter object itself.
-
thumbprintAlgorithm
public String thumbprintAlgorithm()
Get the thumbprintAlgorithm value.- Returns:
- the thumbprintAlgorithm value
-
withThumbprintAlgorithm
public CertificateAddParameter withThumbprintAlgorithm(String thumbprintAlgorithm)
Set the thumbprintAlgorithm value.- Parameters:
thumbprintAlgorithm
- the thumbprintAlgorithm value to set- Returns:
- the CertificateAddParameter object itself.
-
data
public String data()
Get the data value.- Returns:
- the data value
-
withData
public CertificateAddParameter withData(String data)
Set the data value.- Parameters:
data
- the data value to set- Returns:
- the CertificateAddParameter object itself.
-
certificateFormat
public CertificateFormat certificateFormat()
Get possible values include: 'pfx', 'cer'.- Returns:
- the certificateFormat 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.
-
password
public String password()
Get this must be omitted if the Certificate format is cer.- Returns:
- the password value
-
withPassword
public CertificateAddParameter withPassword(String password)
Set this must be omitted if the Certificate format is cer.- Parameters:
password
- the password value to set- Returns:
- the CertificateAddParameter object itself.
-
-