Class DefaultPayloadPart
java.lang.Object
software.amazon.awssdk.services.sagemakerruntime.model.PayloadPart
software.amazon.awssdk.services.sagemakerruntime.model.responsestream.DefaultPayloadPart
- All Implemented Interfaces:
 Serializable,SdkPojo,ResponseStream,ToCopyableBuilder<PayloadPart.Builder,PayloadPart> 
@Generated("software.amazon.awssdk:codegen")
public final class DefaultPayloadPart
extends PayloadPart
A specialization of 
software.amazon.awssdk.services.sagemakerruntime.model.PayloadPart that represents the
 ResponseStream$PayloadPart event. Do not use this class directly. Instead, use the static builder methods on
 ResponseStream.- See Also:
 
- 
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface software.amazon.awssdk.services.sagemakerruntime.model.ResponseStream
ResponseStream.EventType - 
Field Summary
Fields inherited from interface software.amazon.awssdk.services.sagemakerruntime.model.ResponseStream
UNKNOWN - 
Method Summary
Modifier and TypeMethodDescriptionvoidCalls the appropriate visit method depending on the subtype ofPayloadPart.static DefaultPayloadPart.Builderbuilder()The type of this event.Take this object and create a builder that contains all of the current property values of this object.Methods inherited from class software.amazon.awssdk.services.sagemakerruntime.model.PayloadPart
bytes, copy, equals, equalsBySdkFields, getValueForField, hashCode, sdkFields, serializableBuilderClass, toString 
- 
Method Details
- 
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
 toBuilderin interfaceToCopyableBuilder<PayloadPart.Builder,PayloadPart> - Overrides:
 toBuilderin classPayloadPart- Returns:
 - a builder for type T
 
 - 
builder
 - 
accept
Description copied from class:PayloadPartCalls the appropriate visit method depending on the subtype ofPayloadPart.- Specified by:
 acceptin interfaceResponseStream- Overrides:
 acceptin classPayloadPart- Parameters:
 visitor- Visitor to invoke.
 - 
sdkEventType
Description copied from interface:ResponseStreamThe type of this event. Corresponds to the:event-typeheader on the Message. 
 -