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.appservice;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
Class representing certificate reissue request.
/**
* Class representing certificate reissue request.
*/
@JsonFlatten
public class ReissueCertificateOrderRequest extends ProxyOnlyResource {
Certificate Key Size.
/**
* Certificate Key Size.
*/
@JsonProperty(value = "properties.keySize")
private Integer keySize;
Delay in hours to revoke existing certificate after the new certificate
is issued.
/**
* Delay in hours to revoke existing certificate after the new certificate
* is issued.
*/
@JsonProperty(value = "properties.delayExistingRevokeInHours")
private Integer delayExistingRevokeInHours;
Csr to be used for re-key operation.
/**
* Csr to be used for re-key operation.
*/
@JsonProperty(value = "properties.csr")
private String csr;
Should we change the ASC type (from managed private key to external
private key and vice versa).
/**
* Should we change the ASC type (from managed private key to external
* private key and vice versa).
*/
@JsonProperty(value = "properties.isPrivateKeyExternal")
private Boolean isPrivateKeyExternal;
Get certificate Key Size.
Returns: the keySize value
/**
* Get certificate Key Size.
*
* @return the keySize value
*/
public Integer keySize() {
return this.keySize;
}
Set certificate Key Size.
Params: - keySize – the keySize value to set
Returns: the ReissueCertificateOrderRequest object itself.
/**
* Set certificate Key Size.
*
* @param keySize the keySize value to set
* @return the ReissueCertificateOrderRequest object itself.
*/
public ReissueCertificateOrderRequest withKeySize(Integer keySize) {
this.keySize = keySize;
return this;
}
Get delay in hours to revoke existing certificate after the new certificate is issued.
Returns: the delayExistingRevokeInHours value
/**
* Get delay in hours to revoke existing certificate after the new certificate is issued.
*
* @return the delayExistingRevokeInHours value
*/
public Integer delayExistingRevokeInHours() {
return this.delayExistingRevokeInHours;
}
Set delay in hours to revoke existing certificate after the new certificate is issued.
Params: - delayExistingRevokeInHours – the delayExistingRevokeInHours value to set
Returns: the ReissueCertificateOrderRequest object itself.
/**
* Set delay in hours to revoke existing certificate after the new certificate is issued.
*
* @param delayExistingRevokeInHours the delayExistingRevokeInHours value to set
* @return the ReissueCertificateOrderRequest object itself.
*/
public ReissueCertificateOrderRequest withDelayExistingRevokeInHours(Integer delayExistingRevokeInHours) {
this.delayExistingRevokeInHours = delayExistingRevokeInHours;
return this;
}
Get csr to be used for re-key operation.
Returns: the csr value
/**
* Get csr to be used for re-key operation.
*
* @return the csr value
*/
public String csr() {
return this.csr;
}
Set csr to be used for re-key operation.
Params: - csr – the csr value to set
Returns: the ReissueCertificateOrderRequest object itself.
/**
* Set csr to be used for re-key operation.
*
* @param csr the csr value to set
* @return the ReissueCertificateOrderRequest object itself.
*/
public ReissueCertificateOrderRequest withCsr(String csr) {
this.csr = csr;
return this;
}
Get should we change the ASC type (from managed private key to external private key and vice versa).
Returns: the isPrivateKeyExternal value
/**
* Get should we change the ASC type (from managed private key to external private key and vice versa).
*
* @return the isPrivateKeyExternal value
*/
public Boolean isPrivateKeyExternal() {
return this.isPrivateKeyExternal;
}
Set should we change the ASC type (from managed private key to external private key and vice versa).
Params: - isPrivateKeyExternal – the isPrivateKeyExternal value to set
Returns: the ReissueCertificateOrderRequest object itself.
/**
* Set should we change the ASC type (from managed private key to external private key and vice versa).
*
* @param isPrivateKeyExternal the isPrivateKeyExternal value to set
* @return the ReissueCertificateOrderRequest object itself.
*/
public ReissueCertificateOrderRequest withIsPrivateKeyExternal(Boolean isPrivateKeyExternal) {
this.isPrivateKeyExternal = isPrivateKeyExternal;
return this;
}
}