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
overrideConfigurationMethods 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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaServerGroupLaunchConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-