Interface CreateGameServerGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateGameServerGroupResponse.Builder,,CreateGameServerGroupResponse> GameLiftResponse.Builder,SdkBuilder<CreateGameServerGroupResponse.Builder,,CreateGameServerGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateGameServerGroupResponse
-
Method Summary
Modifier and TypeMethodDescriptiongameServerGroup(Consumer<GameServerGroup.Builder> gameServerGroup) The newly created game server group object, including the new ARN value for the Amazon GameLift Servers FleetIQ game server group and the object's status.gameServerGroup(GameServerGroup gameServerGroup) The newly created game server group object, including the new ARN value for the Amazon GameLift Servers FleetIQ game server group and the object's status.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
The newly created game server group object, including the new ARN value for the Amazon GameLift Servers FleetIQ game server group and the object's status. The Amazon EC2 Auto Scaling group ARN is initially null, since the group has not yet been created. This value is added once the game server group status reaches
ACTIVE.- Parameters:
gameServerGroup- The newly created game server group object, including the new ARN value for the Amazon GameLift Servers FleetIQ game server group and the object's status. The Amazon EC2 Auto Scaling group ARN is initially null, since the group has not yet been created. This value is added once the game server group status reachesACTIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameServerGroup
default CreateGameServerGroupResponse.Builder gameServerGroup(Consumer<GameServerGroup.Builder> gameServerGroup) The newly created game server group object, including the new ARN value for the Amazon GameLift Servers FleetIQ game server group and the object's status. The Amazon EC2 Auto Scaling group ARN is initially null, since the group has not yet been created. This value is added once the game server group status reaches
This is a convenience method that creates an instance of theACTIVE.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:
-