Class StreamEvent.Data.StreamEventSystemDataOutput
-
- All Implemented Interfaces:
public final class StreamEvent.Data.StreamEventSystemDataOutput
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classStreamEvent.Data.StreamEventSystemDataOutput.BuilderA builder for StreamEventSystemDataOutput.
public final classStreamEvent.Data.StreamEventSystemDataOutput.StatusCurrent status of the streaming operation
-
Method Summary
Modifier and Type Method Description final StreamEvent.Data.StreamEventSystemDataOutput.Statusstatus()Current status of the streaming operation final Optional<String>error()Error message (present when status is 'error') final JsonValue_result()Operation result (present when status is 'finished')This arbitrary value can be deserialized into a custom type using the convertmethod:MyClass myObject = streamEventSystemDataOutput.result().convert(MyClass.class);final JsonField<StreamEvent.Data.StreamEventSystemDataOutput.Status>_status()Returns the raw JSON value of status. final JsonField<String>_error()Returns the raw JSON value of error. final Map<String, JsonValue>_additionalProperties()final StreamEvent.Data.StreamEventSystemDataOutput.BuildertoBuilder()final StreamEvent.Data.StreamEventSystemDataOutputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static StreamEvent.Data.StreamEventSystemDataOutput.Builderbuilder()Returns a mutable builder for constructing an instance of StreamEventSystemDataOutput. -
-
Method Detail
-
status
final StreamEvent.Data.StreamEventSystemDataOutput.Status status()
Current status of the streaming operation
-
_result
final JsonValue _result()
Operation result (present when status is 'finished')
This arbitrary value can be deserialized into a custom type using the
convertmethod:MyClass myObject = streamEventSystemDataOutput.result().convert(MyClass.class);
-
_status
final JsonField<StreamEvent.Data.StreamEventSystemDataOutput.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_error
final JsonField<String> _error()
Returns the raw JSON value of error.
Unlike error, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final StreamEvent.Data.StreamEventSystemDataOutput.Builder toBuilder()
-
validate
final StreamEvent.Data.StreamEventSystemDataOutput validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static StreamEvent.Data.StreamEventSystemDataOutput.Builder builder()
Returns a mutable builder for constructing an instance of StreamEventSystemDataOutput.
The following fields are required:
.status()
-
-
-
-