Class ProgressEvent
- java.lang.Object
-
- software.amazon.awssdk.services.s3.model.ProgressEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,SelectObjectContentEventStream,ToCopyableBuilder<ProgressEvent.Builder,ProgressEvent>
- Direct Known Subclasses:
DefaultProgress
@Generated("software.amazon.awssdk: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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProgressEvent.Builderprotected static classProgressEvent.BuilderImpl-
Nested classes/interfaces inherited from interface software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream
SelectObjectContentEventStream.EventType
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream
UNKNOWN
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedProgressEvent(ProgressEvent.BuilderImpl builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(SelectObjectContentResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofProgressEvent.static ProgressEvent.Builderbuilder()ProgressEventcopy(Consumer<? super ProgressEvent.Builder> modifier)Progressdetails()The Progress event details.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ProgressEvent.Builder>serializableBuilderClass()ProgressEvent.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream
sdkEventType
-
-
-
-
Constructor Detail
-
ProgressEvent
protected ProgressEvent(ProgressEvent.BuilderImpl builder)
-
-
Method Detail
-
details
public final Progress details()
The Progress event details.
- Returns:
- The Progress event details.
-
toBuilder
public ProgressEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProgressEvent.Builder,ProgressEvent>
-
builder
public static ProgressEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProgressEvent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
copy
public final ProgressEvent copy(Consumer<? super ProgressEvent.Builder> modifier)
- Specified by:
copyin interfaceToCopyableBuilder<ProgressEvent.Builder,ProgressEvent>
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
accept
public void accept(SelectObjectContentResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofProgressEvent.- Specified by:
acceptin interfaceSelectObjectContentEventStream- Parameters:
visitor- Visitor to invoke.
-
-