Interface ServerGroupLaunchConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServerGroupLaunchConfiguration.Builder,,ServerGroupLaunchConfiguration> SdkBuilder<ServerGroupLaunchConfiguration.Builder,,ServerGroupLaunchConfiguration> SdkPojo
- Enclosing class:
ServerGroupLaunchConfiguration
public static interface ServerGroupLaunchConfiguration.Builder
extends SdkPojo, CopyableBuilder<ServerGroupLaunchConfiguration.Builder,ServerGroupLaunchConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionlaunchOrder(Integer launchOrder) The launch order of servers in the server group.serverGroupId(String serverGroupId) The ID of the server group with which the launch configuration is associated.serverLaunchConfigurations(Collection<ServerLaunchConfiguration> serverLaunchConfigurations) The launch configuration for servers in the server group.serverLaunchConfigurations(Consumer<ServerLaunchConfiguration.Builder>... serverLaunchConfigurations) The launch configuration for servers in the server group.serverLaunchConfigurations(ServerLaunchConfiguration... serverLaunchConfigurations) The launch configuration for servers in the server group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
serverGroupId
The ID of the server group with which the launch configuration is associated.
- Parameters:
serverGroupId- The ID of the server group with which the launch configuration is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchOrder
The launch order of servers in the server group.
- Parameters:
launchOrder- The launch order of servers in the server group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverLaunchConfigurations
ServerGroupLaunchConfiguration.Builder serverLaunchConfigurations(Collection<ServerLaunchConfiguration> serverLaunchConfigurations) The launch configuration for servers in the server group.
- Parameters:
serverLaunchConfigurations- The launch configuration for servers in the server group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverLaunchConfigurations
ServerGroupLaunchConfiguration.Builder serverLaunchConfigurations(ServerLaunchConfiguration... serverLaunchConfigurations) The launch configuration for servers in the server group.
- Parameters:
serverLaunchConfigurations- The launch configuration for servers in the server group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverLaunchConfigurations
ServerGroupLaunchConfiguration.Builder serverLaunchConfigurations(Consumer<ServerLaunchConfiguration.Builder>... serverLaunchConfigurations) The launch configuration for servers in the server group.
This is a convenience method that creates an instance of theServerLaunchConfiguration.Builderavoiding the need to create one manually viaServerLaunchConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverLaunchConfigurations(List<ServerLaunchConfiguration>).- Parameters:
serverLaunchConfigurations- a consumer that will call methods onServerLaunchConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-