CertificateCreateOrUpdateParameters Class

  • 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

Constructor Description
CertificateCreateOrUpdateParameters()

Method Summary

Modifier and Type Method and Description
java.lang.String data()

Get the maximum size is 10KB.

java.lang.String etag()

Get the ETag of the resource, used for concurrency statements.

CertificateFormat format()

Get the format of the certificate - either Pfx or Cer.

java.lang.String password()

Get this must not be specified if the certificate format is Cer.

java.lang.String thumbprint()

Get this must match the thumbprint from the name.

java.lang.String thumbprintAlgorithm()

Get this must match the first portion of the certificate name.

CertificateCreateOrUpdateParameters withData(String data)

Set the maximum size is 10KB.

CertificateCreateOrUpdateParameters withFormat(CertificateFormat format)

Set the format of the certificate - either Pfx or Cer.

CertificateCreateOrUpdateParameters withPassword(String password)

Set this must not be specified if the certificate format is Cer.

CertificateCreateOrUpdateParameters withThumbprint(String thumbprint)

Set this must match the thumbprint from the name.

CertificateCreateOrUpdateParameters withThumbprintAlgorithm(String thumbprintAlgorithm)

Set this must match the first portion of the certificate name.

Methods inherited from com.microsoft.azure.ProxyResource

com.microsoft.azure.ProxyResource.id com.microsoft.azure.ProxyResource.name com.microsoft.azure.ProxyResource.type

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

CertificateCreateOrUpdateParameters

public CertificateCreateOrUpdateParameters()

Method Details

data

public String data()

Get the maximum size is 10KB.

Returns:

the data value

etag

public String etag()

Get the ETag of the resource, used for concurrency statements.

Returns:

the etag value

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:

the format value

password

public String password()

Get this must not be specified if the certificate format is Cer.

Returns:

the password value

thumbprint

public String thumbprint()

Get this must match the thumbprint from the name.

Returns:

the thumbprint value

thumbprintAlgorithm

public String thumbprintAlgorithm()

Get this must match the first portion of the certificate name. Currently required to be 'SHA1'.

Returns:

the thumbprintAlgorithm value

withData

public CertificateCreateOrUpdateParameters withData(String data)

Set the maximum size is 10KB.

Parameters:

data - the data value to set

Returns:

the CertificateCreateOrUpdateParameters object itself.

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:

format - the format value to set

Returns:

the CertificateCreateOrUpdateParameters object itself.

withPassword

public CertificateCreateOrUpdateParameters withPassword(String password)

Set this must not be specified if the certificate format is Cer.

Parameters:

password - the password value to set

Returns:

the CertificateCreateOrUpdateParameters object itself.

withThumbprint

public CertificateCreateOrUpdateParameters withThumbprint(String thumbprint)

Set this must match the thumbprint from the name.

Parameters:

thumbprint - the thumbprint value to set

Returns:

the CertificateCreateOrUpdateParameters object itself.

withThumbprintAlgorithm

public CertificateCreateOrUpdateParameters withThumbprintAlgorithm(String thumbprintAlgorithm)

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.

Applies to