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