@Generated(value="com.ibm.cos.v2:codegen") public class EndEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EndEvent.Builder,EndEvent>, SelectObjectContentEventStream
A message that indicates the request is complete and no more messages will be sent. You should not assume that the
request is complete until the client receives an EndEvent.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EndEvent.Builder |
protected static class |
EndEvent.BuilderImpl |
SelectObjectContentEventStream.EventTypeUNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
EndEvent(EndEvent.BuilderImpl builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SelectObjectContentResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype of
EndEvent. |
static EndEvent.Builder |
builder() |
EndEvent |
copy(Consumer<? super EndEvent.Builder> modifier)
A convenience method for calling
ToCopyableBuilder.toBuilder(), updating the returned builder and then calling
SdkBuilder.build(). |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Map<String,SdkField<?>> |
sdkFieldNameToField() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EndEvent.Builder> |
serializableBuilderClass() |
EndEvent.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcontBuilder, endBuilder, progressBuilder, recordsBuilder, sdkEventType, statsBuilderprotected EndEvent(EndEvent.BuilderImpl builder)
public EndEvent.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<EndEvent.Builder,EndEvent>public static EndEvent.Builder builder()
public static Class<? extends EndEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojoSdkPojo class,
and is generated based on a service model.
If an SdkPojo class does not have any inherited fields, equalsBySdkFields
and equals are essentially the same.
equalsBySdkFields in interface SdkPojoobj - the object to be compared withpublic final String toString()
public final EndEvent copy(Consumer<? super EndEvent.Builder> modifier)
ToCopyableBuilderToCopyableBuilder.toBuilder(), updating the returned builder and then calling
SdkBuilder.build(). This is useful for making small modifications to the existing object.copy in interface ToCopyableBuilder<EndEvent.Builder,EndEvent>modifier - A function that mutates this immutable object using the provided builder.public final Map<String,SdkField<?>> sdkFieldNameToField()
sdkFieldNameToField in interface SdkPojopublic void accept(SelectObjectContentResponseHandler.Visitor visitor)
EndEvent.accept in interface SelectObjectContentEventStreamvisitor - Visitor to invoke.Copyright © 2026. All rights reserved.