Class Revoked.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class Revoked.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for Revoked instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
reason
public int
certificateIndex
-
Method Summary
Modifier and Type Method Description String
getReason()
Gets the value of the 'reason' field. Revoked.Builder
setReason(String value)
Sets the value of the 'reason' field. int
getCertificateIndex()
Gets the value of the 'certificateIndex' field. Revoked.Builder
setCertificateIndex(int value)
Sets the value of the 'certificateIndex' field. boolean
hasReason()
Checks whether the 'reason' field has been set. Revoked.Builder
clearReason()
Clears the value of the 'reason' field. boolean
hasCertificateIndex()
Checks whether the 'certificateIndex' field has been set. Revoked.Builder
clearCertificateIndex()
Clears the value of the 'certificateIndex' field. Revoked
build()
-
-
Method Detail
-
getReason
String getReason()
Gets the value of the 'reason' field. The reason the revocation check failed.
- Returns:
The value.
-
setReason
Revoked.Builder setReason(String value)
Sets the value of the 'reason' field. The reason the revocation check failed.
- Parameters:
value
- The value of 'reason'.- Returns:
This builder.
-
getCertificateIndex
int getCertificateIndex()
Gets the value of the 'certificateIndex' field. The index of the certificate in the chain which failed the revocation check.
- Returns:
The value.
-
setCertificateIndex
Revoked.Builder setCertificateIndex(int value)
Sets the value of the 'certificateIndex' field. The index of the certificate in the chain which failed the revocation check.
- Parameters:
value
- The value of 'certificateIndex'.- Returns:
This builder.
-
hasReason
boolean hasReason()
Checks whether the 'reason' field has been set. The reason the revocation check failed.
- Returns:
True if the 'reason' field has been set, false otherwise.
-
clearReason
Revoked.Builder clearReason()
Clears the value of the 'reason' field. The reason the revocation check failed.
- Returns:
This builder.
-
hasCertificateIndex
boolean hasCertificateIndex()
Checks whether the 'certificateIndex' field has been set. The index of the certificate in the chain which failed the revocation check.
- Returns:
True if the 'certificateIndex' field has been set, false otherwise.
-
clearCertificateIndex
Revoked.Builder clearCertificateIndex()
Clears the value of the 'certificateIndex' field. The index of the certificate in the chain which failed the revocation check.
- Returns:
This builder.
-
-
-
-