Class CertificateOperation
- java.lang.Object
-
- com.microsoft.azure.keyvault.models.custom.CertificateOperation
-
- com.microsoft.azure.keyvault.models.CertificateOperation
-
public class CertificateOperation extends CertificateOperation
A certificate operation is returned in case of asynchronous requests.
-
-
Constructor Summary
Constructors Constructor Description CertificateOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
cancellationRequested()
Get the cancellationRequested value.byte[]
csr()
Get the csr value.Error
error()
Get the error value.String
id()
Get the id value.IssuerParameters
issuerParameters()
Get the issuerParameters value.String
requestId()
Get the requestId value.String
status()
Get the status value.String
statusDetails()
Get the statusDetails value.String
target()
Get the target value.CertificateOperation
withCancellationRequested(Boolean cancellationRequested)
Set the cancellationRequested value.CertificateOperation
withCsr(byte[] csr)
Set the csr value.CertificateOperation
withError(Error error)
Set the error value.CertificateOperation
withIssuerParameters(IssuerParameters issuerParameters)
Set the issuerParameters value.CertificateOperation
withRequestId(String requestId)
Set the requestId value.CertificateOperation
withStatus(String status)
Set the status value.CertificateOperation
withStatusDetails(String statusDetails)
Set the statusDetails value.CertificateOperation
withTarget(String target)
Set the target value.-
Methods inherited from class com.microsoft.azure.keyvault.models.custom.CertificateOperation
certificateOperationIdentifier, toString
-
-
-
-
Method Detail
-
id
public String id()
Get the id value.- Overrides:
id
in classCertificateOperation
- Returns:
- the id value
-
issuerParameters
public IssuerParameters issuerParameters()
Get the issuerParameters value.- Returns:
- the issuerParameters value
-
withIssuerParameters
public CertificateOperation withIssuerParameters(IssuerParameters issuerParameters)
Set the issuerParameters value.- Parameters:
issuerParameters
- the issuerParameters value to set- Returns:
- the CertificateOperation object itself.
-
csr
public byte[] csr()
Get the csr value.- Returns:
- the csr value
-
withCsr
public CertificateOperation withCsr(byte[] csr)
Set the csr value.- Parameters:
csr
- the csr value to set- Returns:
- the CertificateOperation object itself.
-
cancellationRequested
public Boolean cancellationRequested()
Get the cancellationRequested value.- Returns:
- the cancellationRequested value
-
withCancellationRequested
public CertificateOperation withCancellationRequested(Boolean cancellationRequested)
Set the cancellationRequested value.- Parameters:
cancellationRequested
- the cancellationRequested value to set- Returns:
- the CertificateOperation object itself.
-
status
public String status()
Get the status value.- Returns:
- the status value
-
withStatus
public CertificateOperation withStatus(String status)
Set the status value.- Parameters:
status
- the status value to set- Returns:
- the CertificateOperation object itself.
-
statusDetails
public String statusDetails()
Get the statusDetails value.- Returns:
- the statusDetails value
-
withStatusDetails
public CertificateOperation withStatusDetails(String statusDetails)
Set the statusDetails value.- Parameters:
statusDetails
- the statusDetails value to set- Returns:
- the CertificateOperation object itself.
-
error
public Error error()
Get the error value.- Returns:
- the error value
-
withError
public CertificateOperation withError(Error error)
Set the error value.- Parameters:
error
- the error value to set- Returns:
- the CertificateOperation object itself.
-
target
public String target()
Get the target value.- Returns:
- the target value
-
withTarget
public CertificateOperation withTarget(String target)
Set the target value.- Parameters:
target
- the target value to set- Returns:
- the CertificateOperation object itself.
-
requestId
public String requestId()
Get the requestId value.- Returns:
- the requestId value
-
withRequestId
public CertificateOperation withRequestId(String requestId)
Set the requestId value.- Parameters:
requestId
- the requestId value to set- Returns:
- the CertificateOperation object itself.
-
-