Class CryptoResponseContext.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class CryptoResponseContext.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for CryptoResponseContext instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
requestingComponent
public Instant
requestTimestamp
public String
requestId
public Instant
responseTimestamp
public String
tenantId
public KeyValuePairList
other
public KeyValuePairList.Builder
otherBuilder
-
Method Summary
Modifier and Type Method Description String
getRequestingComponent()
Gets the value of the 'requestingComponent' field. CryptoResponseContext.Builder
setRequestingComponent(String value)
Sets the value of the 'requestingComponent' field. Instant
getRequestTimestamp()
Gets the value of the 'requestTimestamp' field. CryptoResponseContext.Builder
setRequestTimestamp(Instant value)
Sets the value of the 'requestTimestamp' field. String
getRequestId()
Gets the value of the 'requestId' field. CryptoResponseContext.Builder
setRequestId(String value)
Sets the value of the 'requestId' field. Instant
getResponseTimestamp()
Gets the value of the 'responseTimestamp' field. CryptoResponseContext.Builder
setResponseTimestamp(Instant value)
Sets the value of the 'responseTimestamp' field. String
getTenantId()
Gets the value of the 'tenantId' field. CryptoResponseContext.Builder
setTenantId(String value)
Sets the value of the 'tenantId' field. KeyValuePairList
getOther()
Gets the value of the 'other' field. CryptoResponseContext.Builder
setOther(KeyValuePairList value)
Sets the value of the 'other' field. KeyValuePairList.Builder
getOtherBuilder()
Gets the Builder instance for the 'other' field and creates one if it doesn't exist yet. CryptoResponseContext.Builder
setOtherBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'other' field Any other list of context's key-values. boolean
hasRequestingComponent()
Checks whether the 'requestingComponent' field has been set. CryptoResponseContext.Builder
clearRequestingComponent()
Clears the value of the 'requestingComponent' field. boolean
hasRequestTimestamp()
Checks whether the 'requestTimestamp' field has been set. CryptoResponseContext.Builder
clearRequestTimestamp()
Clears the value of the 'requestTimestamp' field. boolean
hasRequestId()
Checks whether the 'requestId' field has been set. CryptoResponseContext.Builder
clearRequestId()
Clears the value of the 'requestId' field. boolean
hasResponseTimestamp()
Checks whether the 'responseTimestamp' field has been set. CryptoResponseContext.Builder
clearResponseTimestamp()
Clears the value of the 'responseTimestamp' field. boolean
hasTenantId()
Checks whether the 'tenantId' field has been set. CryptoResponseContext.Builder
clearTenantId()
Clears the value of the 'tenantId' field. boolean
hasOther()
Checks whether the 'other' field has been set. boolean
hasOtherBuilder()
Checks whether the 'other' field has an active Builder instance Any other list of context's key-values. CryptoResponseContext.Builder
clearOther()
Clears the value of the 'other' field. CryptoResponseContext
build()
-
-
Method Detail
-
getRequestingComponent
String getRequestingComponent()
Gets the value of the 'requestingComponent' field. Name of the component which requested the operation, copied from the corresponding request.
-
setRequestingComponent
CryptoResponseContext.Builder setRequestingComponent(String value)
Sets the value of the 'requestingComponent' field. Name of the component which requested the operation, copied from the corresponding request.
- Parameters:
value
- The value of 'requestingComponent'.
-
getRequestTimestamp
Instant getRequestTimestamp()
Gets the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds of the request, copied from the corresponding request.
-
setRequestTimestamp
CryptoResponseContext.Builder setRequestTimestamp(Instant value)
Sets the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds of the request, copied from the corresponding request.
- Parameters:
value
- The value of 'requestTimestamp'.
-
getRequestId
String getRequestId()
Gets the value of the 'requestId' field. Request id which can be used to track the request progress.
-
setRequestId
CryptoResponseContext.Builder setRequestId(String value)
Sets the value of the 'requestId' field. Request id which can be used to track the request progress.
- Parameters:
value
- The value of 'requestId'.
-
getResponseTimestamp
Instant getResponseTimestamp()
Gets the value of the 'responseTimestamp' field. Time ([Instant]) in milliseconds of the response.
-
setResponseTimestamp
CryptoResponseContext.Builder setResponseTimestamp(Instant value)
Sets the value of the 'responseTimestamp' field. Time ([Instant]) in milliseconds of the response.
- Parameters:
value
- The value of 'responseTimestamp'.
-
getTenantId
String getTenantId()
Gets the value of the 'tenantId' field. Tenant id on which behalf the request is made, copied from the corresponding request.
-
setTenantId
CryptoResponseContext.Builder setTenantId(String value)
Sets the value of the 'tenantId' field. Tenant id on which behalf the request is made, copied from the corresponding request.
- Parameters:
value
- The value of 'tenantId'.
-
getOther
KeyValuePairList getOther()
Gets the value of the 'other' field. Any other list of context's key-values.
-
setOther
CryptoResponseContext.Builder setOther(KeyValuePairList value)
Sets the value of the 'other' field. Any other list of context's key-values.
- Parameters:
value
- The value of 'other'.
-
getOtherBuilder
KeyValuePairList.Builder getOtherBuilder()
Gets the Builder instance for the 'other' field and creates one if it doesn't exist yet. Any other list of context's key-values.
-
setOtherBuilder
CryptoResponseContext.Builder setOtherBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'other' field Any other list of context's key-values.
- Parameters:
value
- The builder instance that must be set.
-
hasRequestingComponent
boolean hasRequestingComponent()
Checks whether the 'requestingComponent' field has been set. Name of the component which requested the operation, copied from the corresponding request.
-
clearRequestingComponent
CryptoResponseContext.Builder clearRequestingComponent()
Clears the value of the 'requestingComponent' field. Name of the component which requested the operation, copied from the corresponding request.
-
hasRequestTimestamp
boolean hasRequestTimestamp()
Checks whether the 'requestTimestamp' field has been set. Time ([Instant]) in milliseconds of the request, copied from the corresponding request.
-
clearRequestTimestamp
CryptoResponseContext.Builder clearRequestTimestamp()
Clears the value of the 'requestTimestamp' field. Time ([Instant]) in milliseconds of the request, copied from the corresponding request.
-
hasRequestId
boolean hasRequestId()
Checks whether the 'requestId' field has been set. Request id which can be used to track the request progress.
-
clearRequestId
CryptoResponseContext.Builder clearRequestId()
Clears the value of the 'requestId' field. Request id which can be used to track the request progress.
-
hasResponseTimestamp
boolean hasResponseTimestamp()
Checks whether the 'responseTimestamp' field has been set. Time ([Instant]) in milliseconds of the response.
-
clearResponseTimestamp
CryptoResponseContext.Builder clearResponseTimestamp()
Clears the value of the 'responseTimestamp' field. Time ([Instant]) in milliseconds of the response.
-
hasTenantId
boolean hasTenantId()
Checks whether the 'tenantId' field has been set. Tenant id on which behalf the request is made, copied from the corresponding request.
-
clearTenantId
CryptoResponseContext.Builder clearTenantId()
Clears the value of the 'tenantId' field. Tenant id on which behalf the request is made, copied from the corresponding request.
-
hasOther
boolean hasOther()
Checks whether the 'other' field has been set. Any other list of context's key-values.
-
hasOtherBuilder
boolean hasOtherBuilder()
Checks whether the 'other' field has an active Builder instance Any other list of context's key-values.
-
clearOther
CryptoResponseContext.Builder clearOther()
Clears the value of the 'other' field. Any other list of context's key-values.
-
build
CryptoResponseContext build()
-
-
-
-