Interface StopStreamingSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<StopStreamingSessionResponse.Builder,
,StopStreamingSessionResponse> NimbleResponse.Builder
,SdkBuilder<StopStreamingSessionResponse.Builder,
,StopStreamingSessionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StopStreamingSessionResponse
public static interface StopStreamingSessionResponse.Builder
extends NimbleResponse.Builder, SdkPojo, CopyableBuilder<StopStreamingSessionResponse.Builder,StopStreamingSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsession
(Consumer<StreamingSession.Builder> session) Sets the value of the Session property for this object.session
(StreamingSession session) Sets the value of the Session property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.nimble.model.NimbleResponse.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
-
session
Sets the value of the Session property for this object.- Parameters:
session
- The new value for the Session property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
session
Sets the value of the Session property for this object. This is a convenience method that creates an instance of theStreamingSession.Builder
avoiding the need to create one manually viaStreamingSession.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosession(StreamingSession)
.- Parameters:
session
- a consumer that will call methods onStreamingSession.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-