Interface DescribeGameServerGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeGameServerGroupResponse.Builder,
,DescribeGameServerGroupResponse> GameLiftResponse.Builder
,SdkBuilder<DescribeGameServerGroupResponse.Builder,
,DescribeGameServerGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeGameServerGroupResponse
public static interface DescribeGameServerGroupResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeGameServerGroupResponse.Builder,DescribeGameServerGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongameServerGroup
(Consumer<GameServerGroup.Builder> gameServerGroup) An object with the property settings for the requested game server group resource.gameServerGroup
(GameServerGroup gameServerGroup) An object with the property settings for the requested game server group resource.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 with the property settings for the requested game server group resource.
- Parameters:
gameServerGroup
- An object with the property settings for the requested game server group resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameServerGroup
default DescribeGameServerGroupResponse.Builder gameServerGroup(Consumer<GameServerGroup.Builder> gameServerGroup) An object with the property settings for the requested game server group resource.
This is a convenience method that creates an instance of theGameServerGroup.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:
-