Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.batch;
import com.fasterxml.jackson.annotation.JsonProperty;
The CertificateBaseProperties model.
/**
* The CertificateBaseProperties model.
*/
public class CertificateBaseProperties {
The algorithm of the certificate thumbprint.
This must match the first portion of the certificate name. Currently
required to be 'SHA1'.
/**
* The algorithm of the certificate thumbprint.
* This must match the first portion of the certificate name. Currently
* required to be 'SHA1'.
*/
@JsonProperty(value = "thumbprintAlgorithm")
private String thumbprintAlgorithm;
The thumbprint of the certificate.
This must match the thumbprint from the name.
/**
* The thumbprint of the certificate.
* This must match the thumbprint from the name.
*/
@JsonProperty(value = "thumbprint")
private String thumbprint;
The format of the certificate - either Pfx or Cer. If omitted, the
default is Pfx. Possible values include: 'Pfx', 'Cer'.
/**
* The format of the certificate - either Pfx or Cer. If omitted, the
* default is Pfx. Possible values include: 'Pfx', 'Cer'.
*/
@JsonProperty(value = "format")
private CertificateFormat format;
Get this must match the first portion of the certificate name. Currently required to be 'SHA1'.
Returns: the thumbprintAlgorithm value
/**
* Get this must match the first portion of the certificate name. Currently required to be 'SHA1'.
*
* @return the thumbprintAlgorithm value
*/
public String thumbprintAlgorithm() {
return this.thumbprintAlgorithm;
}
Set this must match the first portion of the certificate name. Currently required to be 'SHA1'.
Params: - thumbprintAlgorithm – the thumbprintAlgorithm value to set
Returns: the CertificateBaseProperties object itself.
/**
* Set this must match the first portion of the certificate name. Currently required to be 'SHA1'.
*
* @param thumbprintAlgorithm the thumbprintAlgorithm value to set
* @return the CertificateBaseProperties object itself.
*/
public CertificateBaseProperties withThumbprintAlgorithm(String thumbprintAlgorithm) {
this.thumbprintAlgorithm = thumbprintAlgorithm;
return this;
}
Get this must match the thumbprint from the name.
Returns: the thumbprint value
/**
* Get this must match the thumbprint from the name.
*
* @return the thumbprint value
*/
public String thumbprint() {
return this.thumbprint;
}
Set this must match the thumbprint from the name.
Params: - thumbprint – the thumbprint value to set
Returns: the CertificateBaseProperties object itself.
/**
* Set this must match the thumbprint from the name.
*
* @param thumbprint the thumbprint value to set
* @return the CertificateBaseProperties object itself.
*/
public CertificateBaseProperties withThumbprint(String thumbprint) {
this.thumbprint = thumbprint;
return this;
}
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
/**
* Get the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.
*
* @return the format value
*/
public CertificateFormat format() {
return this.format;
}
Set the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.
Params: - format – the format value to set
Returns: the CertificateBaseProperties object itself.
/**
* Set the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.
*
* @param format the format value to set
* @return the CertificateBaseProperties object itself.
*/
public CertificateBaseProperties withFormat(CertificateFormat format) {
this.format = format;
return this;
}
}