Class HSMRegistrationRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class HSMRegistrationRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for HSMRegistrationRequest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public CryptoRequestContext
context
public CryptoRequestContext.Builder
contextBuilder
public Object
request
-
Method Summary
Modifier and Type Method Description CryptoRequestContext
getContext()
Gets the value of the 'context' field. HSMRegistrationRequest.Builder
setContext(CryptoRequestContext value)
Sets the value of the 'context' field. CryptoRequestContext.Builder
getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. HSMRegistrationRequest.Builder
setContextBuilder(CryptoRequestContext.Builder value)
Sets the Builder instance for the 'context' field Request context, tenant id, timestamp, etc. Object
getRequest()
Gets the value of the 'request' field. HSMRegistrationRequest.Builder
setRequest(Object value)
Sets the value of the 'request' field. boolean
hasContext()
Checks whether the 'context' field has been set. boolean
hasContextBuilder()
Checks whether the 'context' field has an active Builder instance Request context, tenant id, timestamp, etc. HSMRegistrationRequest.Builder
clearContext()
Clears the value of the 'context' field. boolean
hasRequest()
Checks whether the 'request' field has been set. HSMRegistrationRequest.Builder
clearRequest()
Clears the value of the 'request' field. HSMRegistrationRequest
build()
-
-
Method Detail
-
getContext
CryptoRequestContext getContext()
Gets the value of the 'context' field. Request context, tenant id, timestamp, etc.
-
setContext
HSMRegistrationRequest.Builder setContext(CryptoRequestContext value)
Sets the value of the 'context' field. Request context, tenant id, timestamp, etc.
- Parameters:
value
- The value of 'context'.
-
getContextBuilder
CryptoRequestContext.Builder getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. Request context, tenant id, timestamp, etc.
-
setContextBuilder
HSMRegistrationRequest.Builder setContextBuilder(CryptoRequestContext.Builder value)
Sets the Builder instance for the 'context' field Request context, tenant id, timestamp, etc.
- Parameters:
value
- The builder instance that must be set.
-
getRequest
Object getRequest()
Gets the value of the 'request' field. Request's payload, depends on the requested operation.
-
setRequest
HSMRegistrationRequest.Builder setRequest(Object value)
Sets the value of the 'request' field. Request's payload, depends on the requested operation.
- Parameters:
value
- The value of 'request'.
-
hasContext
boolean hasContext()
Checks whether the 'context' field has been set. Request context, tenant id, timestamp, etc.
-
hasContextBuilder
boolean hasContextBuilder()
Checks whether the 'context' field has an active Builder instance Request context, tenant id, timestamp, etc.
-
clearContext
HSMRegistrationRequest.Builder clearContext()
Clears the value of the 'context' field. Request context, tenant id, timestamp, etc.
-
hasRequest
boolean hasRequest()
Checks whether the 'request' field has been set. Request's payload, depends on the requested operation.
-
clearRequest
HSMRegistrationRequest.Builder clearRequest()
Clears the value of the 'request' field. Request's payload, depends on the requested operation.
-
build
HSMRegistrationRequest build()
-
-
-
-