Interface PutEventStreamResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<PutEventStreamResponse.Builder,
,PutEventStreamResponse> PinpointResponse.Builder
,SdkBuilder<PutEventStreamResponse.Builder,
,PutEventStreamResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutEventStreamResponse
public static interface PutEventStreamResponse.Builder
extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<PutEventStreamResponse.Builder,PutEventStreamResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PutEventStreamResponse.Builder
eventStream
(Consumer<EventStream.Builder> eventStream) Sets the value of the EventStream property for this object.eventStream
(EventStream eventStream) Sets the value of the EventStream property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
eventStream
Sets the value of the EventStream property for this object.- Parameters:
eventStream
- The new value for the EventStream property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventStream
Sets the value of the EventStream property for this object. This is a convenience method that creates an instance of theEventStream.Builder
avoiding the need to create one manually viaEventStream.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventStream(EventStream)
.- Parameters:
eventStream
- a consumer that will call methods onEventStream.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-