@Generated(value="com.ibm.cos.v2:codegen") public class ProgressEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProgressEvent.Builder,ProgressEvent>, SelectObjectContentEventStream
This data type contains information about the progress event of an operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ProgressEvent.Builder |
protected static class |
ProgressEvent.BuilderImpl |
SelectObjectContentEventStream.EventTypeUNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
ProgressEvent(ProgressEvent.BuilderImpl builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SelectObjectContentResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype of
ProgressEvent. |
static ProgressEvent.Builder |
builder() |
ProgressEvent |
copy(Consumer<? super ProgressEvent.Builder> modifier)
A convenience method for calling
ToCopyableBuilder.toBuilder(), updating the returned builder and then calling
SdkBuilder.build(). |
Progress |
details()
The Progress event details.
|
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 ProgressEvent.Builder> |
serializableBuilderClass() |
ProgressEvent.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 ProgressEvent(ProgressEvent.BuilderImpl builder)
public final Progress details()
The Progress event details.
public ProgressEvent.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ProgressEvent.Builder,ProgressEvent>public static ProgressEvent.Builder builder()
public static Class<? extends ProgressEvent.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 ProgressEvent copy(Consumer<? super ProgressEvent.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<ProgressEvent.Builder,ProgressEvent>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)
ProgressEvent.accept in interface SelectObjectContentEventStreamvisitor - Visitor to invoke.Copyright © 2026. All rights reserved.