Interface SuspendGameServerGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SuspendGameServerGroupResponse.Builder,,SuspendGameServerGroupResponse> GameLiftResponse.Builder,SdkBuilder<SuspendGameServerGroupResponse.Builder,,SuspendGameServerGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SuspendGameServerGroupResponse
@Mutable
@NotThreadSafe
public static interface SuspendGameServerGroupResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<SuspendGameServerGroupResponse.Builder,SuspendGameServerGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongameServerGroup(Consumer<GameServerGroup.Builder> gameServerGroup) An object that describes the game server group resource, with theSuspendedActionsproperty updated to reflect the suspended activity.gameServerGroup(GameServerGroup gameServerGroup) An object that describes the game server group resource, with theSuspendedActionsproperty updated to reflect the suspended activity.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
SuspendedActionsproperty updated to reflect the suspended activity.- Parameters:
gameServerGroup- An object that describes the game server group resource, with theSuspendedActionsproperty updated to reflect the suspended activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameServerGroup
default SuspendGameServerGroupResponse.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 theSuspendedActionsproperty updated to reflect the suspended activity.GameServerGroup.Builderavoiding the need to create one manually viaGameServerGroup.builder().When the
Consumercompletes,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:
-