public static interface CreatePlayerSessionResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<CreatePlayerSessionResponse.Builder,CreatePlayerSessionResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreatePlayerSessionResponse.Builder |
playerSession(Consumer<PlayerSession.Builder> playerSession)
Object that describes the newly created player session record.
|
CreatePlayerSessionResponse.Builder |
playerSession(PlayerSession playerSession)
Object that describes the newly created player session record.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreatePlayerSessionResponse.Builder playerSession(PlayerSession playerSession)
Object that describes the newly created player session record.
playerSession - Object that describes the newly created player session record.default CreatePlayerSessionResponse.Builder playerSession(Consumer<PlayerSession.Builder> playerSession)
Object that describes the newly created player session record.
This is a convenience method that creates an instance of thePlayerSession.Builder avoiding the need
to create one manually via PlayerSession.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to playerSession(PlayerSession).
playerSession - a consumer that will call methods on PlayerSession.BuilderplayerSession(PlayerSession)Copyright © 2023. All rights reserved.