ReissueCertificateOrderRequest Class

public final class ReissueCertificateOrderRequest
extends ProxyOnlyResource

Class representing certificate reissue request.

Constructor Summary

Constructor Description
ReissueCertificateOrderRequest()

Creates an instance of ReissueCertificateOrderRequest class.

Method Summary

Modifier and Type Method and Description
String csr()

Get the csr property: Csr to be used for re-key operation.

Integer delayExistingRevokeInHours()

Get the delayExistingRevokeInHours property: Delay in hours to revoke existing certificate after the new certificate is issued.

static ReissueCertificateOrderRequest fromJson(JsonReader jsonReader)

Reads an instance of ReissueCertificateOrderRequest from the JsonReader.

String id()

Get the id property: Resource Id.

Boolean isPrivateKeyExternal()

Get the isPrivateKeyExternal property: Should we change the ASC type (from managed private key to external private key and vice versa).

Integer keySize()

Get the keySize property: Certificate Key Size.

String name()

Get the name property: Resource Name.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

ReissueCertificateOrderRequest withCsr(String csr)

Set the csr property: Csr to be used for re-key operation.

ReissueCertificateOrderRequest withDelayExistingRevokeInHours(Integer delayExistingRevokeInHours)

Set the delayExistingRevokeInHours property: Delay in hours to revoke existing certificate after the new certificate is issued.

ReissueCertificateOrderRequest withIsPrivateKeyExternal(Boolean isPrivateKeyExternal)

Set the isPrivateKeyExternal property: Should we change the ASC type (from managed private key to external private key and vice versa).

ReissueCertificateOrderRequest withKeySize(Integer keySize)

Set the keySize property: Certificate Key Size.

ReissueCertificateOrderRequest withKind(String kind)

Set the kind property: Kind of resource.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

ReissueCertificateOrderRequest

public ReissueCertificateOrderRequest()

Creates an instance of ReissueCertificateOrderRequest class.

Method Details

csr

public String csr()

Get the csr property: Csr to be used for re-key operation.

Returns:

the csr value.

delayExistingRevokeInHours

public Integer delayExistingRevokeInHours()

Get the delayExistingRevokeInHours property: Delay in hours to revoke existing certificate after the new certificate is issued.

Returns:

the delayExistingRevokeInHours value.

fromJson

public static ReissueCertificateOrderRequest fromJson(JsonReader jsonReader)

Reads an instance of ReissueCertificateOrderRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ReissueCertificateOrderRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ReissueCertificateOrderRequest.

id

public String id()

Get the id property: Resource Id.

Overrides:

ReissueCertificateOrderRequest.id()

Returns:

the id value.

isPrivateKeyExternal

public Boolean isPrivateKeyExternal()

Get the isPrivateKeyExternal property: Should we change the ASC type (from managed private key to external private key and vice versa).

Returns:

the isPrivateKeyExternal value.

keySize

public Integer keySize()

Get the keySize property: Certificate Key Size.

Returns:

the keySize value.

name

public String name()

Get the name property: Resource Name.

Overrides:

ReissueCertificateOrderRequest.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ReissueCertificateOrderRequest.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

ReissueCertificateOrderRequest.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

ReissueCertificateOrderRequest.validate()

withCsr

public ReissueCertificateOrderRequest withCsr(String csr)

Set the csr property: Csr to be used for re-key operation.

Parameters:

csr - the csr value to set.

Returns:

the ReissueCertificateOrderRequest object itself.

withDelayExistingRevokeInHours

public ReissueCertificateOrderRequest withDelayExistingRevokeInHours(Integer delayExistingRevokeInHours)

Set the delayExistingRevokeInHours property: Delay in hours to revoke existing certificate after the new certificate is issued.

Parameters:

delayExistingRevokeInHours - the delayExistingRevokeInHours value to set.

Returns:

the ReissueCertificateOrderRequest object itself.

withIsPrivateKeyExternal

public ReissueCertificateOrderRequest withIsPrivateKeyExternal(Boolean isPrivateKeyExternal)

Set the isPrivateKeyExternal property: Should we change the ASC type (from managed private key to external private key and vice versa).

Parameters:

isPrivateKeyExternal - the isPrivateKeyExternal value to set.

Returns:

the ReissueCertificateOrderRequest object itself.

withKeySize

public ReissueCertificateOrderRequest withKeySize(Integer keySize)

Set the keySize property: Certificate Key Size.

Parameters:

keySize - the keySize value to set.

Returns:

the ReissueCertificateOrderRequest object itself.

withKind

public ReissueCertificateOrderRequest withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

ReissueCertificateOrderRequest.withKind(String kind)

Parameters:

kind

Applies to