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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateSessionResponse.Buildersession(Consumer<SessionData.Builder> session)Sets the value of the Session property for this object.UpdateSessionResponse.Buildersession(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 Detail
-
session
UpdateSessionResponse.Builder session(SessionData 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 UpdateSessionResponse.Builder session(Consumer<SessionData.Builder> session)
Sets the value of the Session property for this object. This is a convenience method that creates an instance of theSessionData.Builderavoiding the need to create one manually viaSessionData.builder().When the
Consumercompletes,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:
session(SessionData)
-
-