public static interface ServerGroupLaunchConfiguration.Builder extends SdkPojo, CopyableBuilder<ServerGroupLaunchConfiguration.Builder,ServerGroupLaunchConfiguration>
Modifier and Type | Method and Description |
---|---|
ServerGroupLaunchConfiguration.Builder |
launchOrder(Integer launchOrder)
The launch order of servers in the server group.
|
ServerGroupLaunchConfiguration.Builder |
serverGroupId(String serverGroupId)
The ID of the server group with which the launch configuration is associated.
|
ServerGroupLaunchConfiguration.Builder |
serverLaunchConfigurations(Collection<ServerLaunchConfiguration> serverLaunchConfigurations)
The launch configuration for servers in the server group.
|
ServerGroupLaunchConfiguration.Builder |
serverLaunchConfigurations(Consumer<ServerLaunchConfiguration.Builder>... serverLaunchConfigurations)
The launch configuration for servers in the server group.
|
ServerGroupLaunchConfiguration.Builder |
serverLaunchConfigurations(ServerLaunchConfiguration... serverLaunchConfigurations)
The launch configuration for servers in the server group.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ServerGroupLaunchConfiguration.Builder serverGroupId(String serverGroupId)
The ID of the server group with which the launch configuration is associated.
serverGroupId
- The ID of the server group with which the launch configuration is associated.ServerGroupLaunchConfiguration.Builder launchOrder(Integer launchOrder)
The launch order of servers in the server group.
launchOrder
- The launch order of servers in the server group.ServerGroupLaunchConfiguration.Builder serverLaunchConfigurations(Collection<ServerLaunchConfiguration> serverLaunchConfigurations)
The launch configuration for servers in the server group.
serverLaunchConfigurations
- The launch configuration for servers in the server group.ServerGroupLaunchConfiguration.Builder serverLaunchConfigurations(ServerLaunchConfiguration... serverLaunchConfigurations)
The launch configuration for servers in the server group.
serverLaunchConfigurations
- The launch configuration for servers in the server group.ServerGroupLaunchConfiguration.Builder serverLaunchConfigurations(Consumer<ServerLaunchConfiguration.Builder>... serverLaunchConfigurations)
The launch configuration for servers in the server group.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #serverLaunchConfigurations(List)
.serverLaunchConfigurations
- a consumer that will call methods on List.Builder
#serverLaunchConfigurations(List)