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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StopStreamingSessionResponse.Buildersession(Consumer<StreamingSession.Builder> session)Sets the value of the Session property for this object.StopStreamingSessionResponse.Buildersession(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 Detail
-
session
StopStreamingSessionResponse.Builder session(StreamingSession 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
default StopStreamingSessionResponse.Builder session(Consumer<StreamingSession.Builder> 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:
session(StreamingSession)
-
-