Interface PutAppLaunchConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutAppLaunchConfigurationRequest.Builder,
,PutAppLaunchConfigurationRequest> SdkBuilder<PutAppLaunchConfigurationRequest.Builder,
,PutAppLaunchConfigurationRequest> SdkPojo
,SdkRequest.Builder
,SmsRequest.Builder
- Enclosing class:
PutAppLaunchConfigurationRequest
public static interface PutAppLaunchConfigurationRequest.Builder
extends SmsRequest.Builder, SdkPojo, CopyableBuilder<PutAppLaunchConfigurationRequest.Builder,PutAppLaunchConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the application.autoLaunch
(Boolean autoLaunch) Indicates whether the application is configured to launch automatically after replication is complete.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of service role in the customer's account that CloudFormation uses to launch the application.serverGroupLaunchConfigurations
(Collection<ServerGroupLaunchConfiguration> serverGroupLaunchConfigurations) Information about the launch configurations for server groups in the application.serverGroupLaunchConfigurations
(Consumer<ServerGroupLaunchConfiguration.Builder>... serverGroupLaunchConfigurations) Information about the launch configurations for server groups in the application.serverGroupLaunchConfigurations
(ServerGroupLaunchConfiguration... serverGroupLaunchConfigurations) Information about the launch configurations for server groups in the application.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.sms.model.SmsRequest.Builder
build
-
Method Details
-
appId
The ID of the application.
- Parameters:
appId
- The ID of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleName
The name of service role in the customer's account that CloudFormation uses to launch the application.
- Parameters:
roleName
- The name of service role in the customer's account that CloudFormation uses to launch the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoLaunch
Indicates whether the application is configured to launch automatically after replication is complete.
- Parameters:
autoLaunch
- Indicates whether the application is configured to launch automatically after replication is complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverGroupLaunchConfigurations
PutAppLaunchConfigurationRequest.Builder serverGroupLaunchConfigurations(Collection<ServerGroupLaunchConfiguration> serverGroupLaunchConfigurations) Information about the launch configurations for server groups in the application.
- Parameters:
serverGroupLaunchConfigurations
- Information about the launch configurations for server groups in the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverGroupLaunchConfigurations
PutAppLaunchConfigurationRequest.Builder serverGroupLaunchConfigurations(ServerGroupLaunchConfiguration... serverGroupLaunchConfigurations) Information about the launch configurations for server groups in the application.
- Parameters:
serverGroupLaunchConfigurations
- Information about the launch configurations for server groups in the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverGroupLaunchConfigurations
PutAppLaunchConfigurationRequest.Builder serverGroupLaunchConfigurations(Consumer<ServerGroupLaunchConfiguration.Builder>... serverGroupLaunchConfigurations) Information about the launch configurations for server groups in the application.
This is a convenience method that creates an instance of theServerGroupLaunchConfiguration.Builder
avoiding the need to create one manually viaServerGroupLaunchConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserverGroupLaunchConfigurations(List<ServerGroupLaunchConfiguration>)
.- Parameters:
serverGroupLaunchConfigurations
- a consumer that will call methods onServerGroupLaunchConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutAppLaunchConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutAppLaunchConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-