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