Class ExternalEventStateStatus.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class ExternalEventStateStatus.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for ExternalEventStateStatus instances.
-
-
Field Summary
Fields Modifier and Type Field Description public ExternalEventStateType
type
public ExceptionEnvelope
exception
public ExceptionEnvelope.Builder
exceptionBuilder
-
Method Summary
Modifier and Type Method Description ExternalEventStateType
getType()
Gets the value of the 'type' field. ExternalEventStateStatus.Builder
setType(ExternalEventStateType value)
Sets the value of the 'type' field. ExceptionEnvelope
getException()
Gets the value of the 'exception' field. ExternalEventStateStatus.Builder
setException(ExceptionEnvelope value)
Sets the value of the 'exception' field. ExceptionEnvelope.Builder
getExceptionBuilder()
Gets the Builder instance for the 'exception' field and creates one if it doesn't exist yet. ExternalEventStateStatus.Builder
setExceptionBuilder(ExceptionEnvelope.Builder value)
Sets the Builder instance for the 'exception' field Exception information boolean
hasType()
Checks whether the 'type' field has been set. ExternalEventStateStatus.Builder
clearType()
Clears the value of the 'type' field. boolean
hasException()
Checks whether the 'exception' field has been set. boolean
hasExceptionBuilder()
Checks whether the 'exception' field has an active Builder instance Exception information ExternalEventStateStatus.Builder
clearException()
Clears the value of the 'exception' field. ExternalEventStateStatus
build()
-
-
Method Detail
-
getType
ExternalEventStateType getType()
Gets the value of the 'type' field. Status of the state.
-
setType
ExternalEventStateStatus.Builder setType(ExternalEventStateType value)
Sets the value of the 'type' field. Status of the state.
- Parameters:
value
- The value of 'type'.
-
getException
ExceptionEnvelope getException()
Gets the value of the 'exception' field. Exception information
-
setException
ExternalEventStateStatus.Builder setException(ExceptionEnvelope value)
Sets the value of the 'exception' field. Exception information
- Parameters:
value
- The value of 'exception'.
-
getExceptionBuilder
ExceptionEnvelope.Builder getExceptionBuilder()
Gets the Builder instance for the 'exception' field and creates one if it doesn't exist yet. Exception information
-
setExceptionBuilder
ExternalEventStateStatus.Builder setExceptionBuilder(ExceptionEnvelope.Builder value)
Sets the Builder instance for the 'exception' field Exception information
- Parameters:
value
- The builder instance that must be set.
-
hasType
boolean hasType()
Checks whether the 'type' field has been set. Status of the state.
-
clearType
ExternalEventStateStatus.Builder clearType()
Clears the value of the 'type' field. Status of the state.
-
hasException
boolean hasException()
Checks whether the 'exception' field has been set. Exception information
-
hasExceptionBuilder
boolean hasExceptionBuilder()
Checks whether the 'exception' field has an active Builder instance Exception information
-
clearException
ExternalEventStateStatus.Builder clearException()
Clears the value of the 'exception' field. Exception information
-
build
ExternalEventStateStatus build()
-
-
-
-