Interface StartStreamingSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartStreamingSessionResponse.Builder,,StartStreamingSessionResponse> NimbleResponse.Builder,SdkBuilder<StartStreamingSessionResponse.Builder,,StartStreamingSessionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartStreamingSessionResponse
public static interface StartStreamingSessionResponse.Builder
extends NimbleResponse.Builder, SdkPojo, CopyableBuilder<StartStreamingSessionResponse.Builder,StartStreamingSessionResponse>
-
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
copyMethods inherited from interface software.amazon.awssdk.services.nimble.model.NimbleResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaStreamingSession.builder().When the
Consumercompletes,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:
-