Class ResponseErrorEvent.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseErrorEvent.BuilderA builder for ResponseErrorEvent.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
code
final ResponseErrorEvent.Builder code(String code)
The error code.
 
- 
                                        
code
final ResponseErrorEvent.Builder code(Optional<String> code)
Alias for calling Builder.code with
code.orElse(null). 
- 
                                        
code
final ResponseErrorEvent.Builder code(JsonField<String> code)
Sets Builder.code to an arbitrary JSON value.
You should usually call Builder.code with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
message
final ResponseErrorEvent.Builder message(String message)
The error message.
 
- 
                                        
message
final ResponseErrorEvent.Builder message(JsonField<String> message)
Sets Builder.message to an arbitrary JSON value.
You should usually call Builder.message with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
param
final ResponseErrorEvent.Builder param(String param)
The error parameter.
 
- 
                                        
param
final ResponseErrorEvent.Builder param(Optional<String> param)
Alias for calling Builder.param with
param.orElse(null). 
- 
                                        
param
final ResponseErrorEvent.Builder param(JsonField<String> param)
Sets Builder.param to an arbitrary JSON value.
You should usually call Builder.param with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
sequenceNumber
final ResponseErrorEvent.Builder sequenceNumber(Long sequenceNumber)
The sequence number of this event.
 
- 
                                        
sequenceNumber
final ResponseErrorEvent.Builder sequenceNumber(JsonField<Long> sequenceNumber)
Sets Builder.sequenceNumber to an arbitrary JSON value.
You should usually call Builder.sequenceNumber with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final ResponseErrorEvent.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("error")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ResponseErrorEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseErrorEvent.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseErrorEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseErrorEvent.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseErrorEvent.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseErrorEvent build()
Returns an immutable instance of ResponseErrorEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.code() .message() .param() .sequenceNumber() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -