Interface ResumeGameServerGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ResumeGameServerGroupResponse.Builder,
,ResumeGameServerGroupResponse> GameLiftResponse.Builder
,SdkBuilder<ResumeGameServerGroupResponse.Builder,
,ResumeGameServerGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ResumeGameServerGroupResponse
public static interface ResumeGameServerGroupResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<ResumeGameServerGroupResponse.Builder,ResumeGameServerGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongameServerGroup
(Consumer<GameServerGroup.Builder> gameServerGroup) An object that describes the game server group resource, with theSuspendedActions
property updated to reflect the resumed activity.gameServerGroup
(GameServerGroup gameServerGroup) An object that describes the game server group resource, with theSuspendedActions
property updated to reflect the resumed activity.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.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
-
gameServerGroup
An object that describes the game server group resource, with the
SuspendedActions
property updated to reflect the resumed activity.- Parameters:
gameServerGroup
- An object that describes the game server group resource, with theSuspendedActions
property updated to reflect the resumed activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameServerGroup
default ResumeGameServerGroupResponse.Builder gameServerGroup(Consumer<GameServerGroup.Builder> gameServerGroup) An object that describes the game server group resource, with the
This is a convenience method that creates an instance of theSuspendedActions
property updated to reflect the resumed activity.GameServerGroup.Builder
avoiding the need to create one manually viaGameServerGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togameServerGroup(GameServerGroup)
.- Parameters:
gameServerGroup
- a consumer that will call methods onGameServerGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-