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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerGroupLaunchConfiguration.BuilderlaunchOrder(Integer launchOrder)The launch order of servers in the server group.ServerGroupLaunchConfiguration.BuilderserverGroupId(String serverGroupId)The ID of the server group with which the launch configuration is associated.ServerGroupLaunchConfiguration.BuilderserverLaunchConfigurations(Collection<ServerLaunchConfiguration> serverLaunchConfigurations)The launch configuration for servers in the server group.ServerGroupLaunchConfiguration.BuilderserverLaunchConfigurations(Consumer<ServerLaunchConfiguration.Builder>... serverLaunchConfigurations)The launch configuration for servers in the server group.ServerGroupLaunchConfiguration.BuilderserverLaunchConfigurations(ServerLaunchConfiguration... serverLaunchConfigurations)The launch configuration for servers in the server group.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
serverGroupId
ServerGroupLaunchConfiguration.Builder serverGroupId(String 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
ServerGroupLaunchConfiguration.Builder launchOrder(Integer 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 to#serverLaunchConfigurations(List.) - 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:
#serverLaunchConfigurations(java.util.Collection)
-
-