CertificateCreateOrUpdateParameters Class
- java.
lang. Object - ProxyResource
- com.
microsoft. azure. management. batch. CertificateCreateOrUpdateParameters
- com.
public class CertificateCreateOrUpdateParameters
Contains information about a certificate.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
data()
Get the maximum size is 10KB. |
String |
etag()
Get the ETag of the resource, used for concurrency statements. |
Certificate |
format()
Get the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'. |
String |
password()
Get this must not be specified if the certificate format is Cer. |
String |
thumbprint()
Get this must match the thumbprint from the name. |
String |
thumbprintAlgorithm()
Get this must match the first portion of the certificate name. Currently required to be 'SHA1'. |
Certificate |
withData(String data)
Set the maximum size is 10KB. |
Certificate |
withFormat(CertificateFormat format)
Set the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'. |
Certificate |
withPassword(String password)
Set this must not be specified if the certificate format is Cer. |
Certificate |
withThumbprint(String thumbprint)
Set this must match the thumbprint from the name. |
Certificate |
withThumbprintAlgorithm(String thumbprintAlgorithm)
Set this must match the first portion of the certificate name. Currently required to be 'SHA1'. |
Method Details
data
public String data()
Get the maximum size is 10KB.
Returns:
etag
public String etag()
Get the ETag of the resource, used for concurrency statements.
Returns:
format
public CertificateFormat format()
Get the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.
Returns:
password
public String password()
Get this must not be specified if the certificate format is Cer.
Returns:
thumbprint
public String thumbprint()
Get this must match the thumbprint from the name.
Returns:
thumbprintAlgorithm
public String thumbprintAlgorithm()
Get this must match the first portion of the certificate name. Currently required to be 'SHA1'.
Returns:
withData
public CertificateCreateOrUpdateParameters withData(String data)
Set the maximum size is 10KB.
Parameters:
Returns:
withFormat
public CertificateCreateOrUpdateParameters withFormat(CertificateFormat format)
Set the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.
Parameters:
Returns:
withPassword
public CertificateCreateOrUpdateParameters withPassword(String password)
Set this must not be specified if the certificate format is Cer.
Parameters:
Returns:
withThumbprint
public CertificateCreateOrUpdateParameters withThumbprint(String thumbprint)
Set this must match the thumbprint from the name.
Parameters:
Returns:
withThumbprintAlgorithm
public CertificateCreateOrUpdateParameters withThumbprintAlgorithm(String thumbprintAlgorithm)
Set this must match the first portion of the certificate name. Currently required to be 'SHA1'.
Parameters:
Returns:
Applies to
Azure SDK for Java