Interface UpdateManagedInstancesProviderConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UpdateManagedInstancesProviderConfiguration.Builder,
,UpdateManagedInstancesProviderConfiguration> SdkBuilder<UpdateManagedInstancesProviderConfiguration.Builder,
,UpdateManagedInstancesProviderConfiguration> SdkPojo
- Enclosing class:
UpdateManagedInstancesProviderConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioninfrastructureRoleArn
(String infrastructureRoleArn) The updated Amazon Resource Name (ARN) of the infrastructure role.instanceLaunchTemplate
(Consumer<InstanceLaunchTemplateUpdate.Builder> instanceLaunchTemplate) The updated launch template configuration.instanceLaunchTemplate
(InstanceLaunchTemplateUpdate instanceLaunchTemplate) The updated launch template configuration.propagateTags
(String propagateTags) The updated tag propagation setting.propagateTags
(PropagateMITags propagateTags) The updated tag propagation setting.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 Details
-
infrastructureRoleArn
UpdateManagedInstancesProviderConfiguration.Builder infrastructureRoleArn(String infrastructureRoleArn) The updated Amazon Resource Name (ARN) of the infrastructure role. The new role must have the necessary permissions to manage instances and access required Amazon Web Services services.
For more information, see Amazon ECS infrastructure IAM role in the Amazon ECS Developer Guide.
- Parameters:
infrastructureRoleArn
- The updated Amazon Resource Name (ARN) of the infrastructure role. The new role must have the necessary permissions to manage instances and access required Amazon Web Services services.For more information, see Amazon ECS infrastructure IAM role in the Amazon ECS Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceLaunchTemplate
UpdateManagedInstancesProviderConfiguration.Builder instanceLaunchTemplate(InstanceLaunchTemplateUpdate instanceLaunchTemplate) The updated launch template configuration. Changes to the launch template affect new instances launched after the update, while existing instances continue to use their original configuration.
- Parameters:
instanceLaunchTemplate
- The updated launch template configuration. Changes to the launch template affect new instances launched after the update, while existing instances continue to use their original configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceLaunchTemplate
default UpdateManagedInstancesProviderConfiguration.Builder instanceLaunchTemplate(Consumer<InstanceLaunchTemplateUpdate.Builder> instanceLaunchTemplate) The updated launch template configuration. Changes to the launch template affect new instances launched after the update, while existing instances continue to use their original configuration.
This is a convenience method that creates an instance of theInstanceLaunchTemplateUpdate.Builder
avoiding the need to create one manually viaInstanceLaunchTemplateUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceLaunchTemplate(InstanceLaunchTemplateUpdate)
.- Parameters:
instanceLaunchTemplate
- a consumer that will call methods onInstanceLaunchTemplateUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propagateTags
The updated tag propagation setting. When changed, this affects only new instances launched after the update.
- Parameters:
propagateTags
- The updated tag propagation setting. When changed, this affects only new instances launched after the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propagateTags
The updated tag propagation setting. When changed, this affects only new instances launched after the update.
- Parameters:
propagateTags
- The updated tag propagation setting. When changed, this affects only new instances launched after the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-