Interface UpdateSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateSessionResponse.Builder,
,UpdateSessionResponse> QConnectResponse.Builder
,SdkBuilder<UpdateSessionResponse.Builder,
,UpdateSessionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateSessionResponse
public static interface UpdateSessionResponse.Builder
extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<UpdateSessionResponse.Builder,UpdateSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateSessionResponse.Builder
session
(Consumer<SessionData.Builder> session) Sets the value of the Session property for this object.session
(SessionData 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.qconnect.model.QConnectResponse.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 theSessionData.Builder
avoiding the need to create one manually viaSessionData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosession(SessionData)
.- Parameters:
session
- a consumer that will call methods onSessionData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-