Interface GetAppLaunchConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetAppLaunchConfigurationResponse.Builder,
,GetAppLaunchConfigurationResponse> SdkBuilder<GetAppLaunchConfigurationResponse.Builder,
,GetAppLaunchConfigurationResponse> SdkPojo
,SdkResponse.Builder
,SmsResponse.Builder
- Enclosing class:
GetAppLaunchConfigurationResponse
public static interface GetAppLaunchConfigurationResponse.Builder
extends SmsResponse.Builder, SdkPojo, CopyableBuilder<GetAppLaunchConfigurationResponse.Builder,GetAppLaunchConfigurationResponse>
-
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.The name of the service role in the customer's account that CloudFormation uses to launch the application.serverGroupLaunchConfigurations
(Collection<ServerGroupLaunchConfiguration> serverGroupLaunchConfigurations) The launch configurations for server groups in this application.serverGroupLaunchConfigurations
(Consumer<ServerGroupLaunchConfiguration.Builder>... serverGroupLaunchConfigurations) The launch configurations for server groups in this application.serverGroupLaunchConfigurations
(ServerGroupLaunchConfiguration... serverGroupLaunchConfigurations) The launch configurations for server groups in this application.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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.sms.model.SmsResponse.Builder
build, responseMetadata, responseMetadata
-
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 the service role in the customer's account that CloudFormation uses to launch the application.
- Parameters:
roleName
- The name of the 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
GetAppLaunchConfigurationResponse.Builder serverGroupLaunchConfigurations(Collection<ServerGroupLaunchConfiguration> serverGroupLaunchConfigurations) The launch configurations for server groups in this application.
- Parameters:
serverGroupLaunchConfigurations
- The launch configurations for server groups in this application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverGroupLaunchConfigurations
GetAppLaunchConfigurationResponse.Builder serverGroupLaunchConfigurations(ServerGroupLaunchConfiguration... serverGroupLaunchConfigurations) The launch configurations for server groups in this application.
- Parameters:
serverGroupLaunchConfigurations
- The launch configurations for server groups in this application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverGroupLaunchConfigurations
GetAppLaunchConfigurationResponse.Builder serverGroupLaunchConfigurations(Consumer<ServerGroupLaunchConfiguration.Builder>... serverGroupLaunchConfigurations) The launch configurations for server groups in this 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:
-