Interface InstanceLaunchTemplateUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceLaunchTemplateUpdate.Builder,
,InstanceLaunchTemplateUpdate> SdkBuilder<InstanceLaunchTemplateUpdate.Builder,
,InstanceLaunchTemplateUpdate> SdkPojo
- Enclosing class:
InstanceLaunchTemplateUpdate
-
Method Summary
Modifier and TypeMethodDescriptionec2InstanceProfileArn
(String ec2InstanceProfileArn) The updated Amazon Resource Name (ARN) of the instance profile.instanceRequirements
(Consumer<InstanceRequirementsRequest.Builder> instanceRequirements) The updated instance requirements for attribute-based instance type selection.instanceRequirements
(InstanceRequirementsRequest instanceRequirements) The updated instance requirements for attribute-based instance type selection.monitoring
(String monitoring) CloudWatch provides two categories of monitoring: basic monitoring and detailed monitoring.monitoring
(ManagedInstancesMonitoringOptions monitoring) CloudWatch provides two categories of monitoring: basic monitoring and detailed monitoring.networkConfiguration
(Consumer<ManagedInstancesNetworkConfiguration.Builder> networkConfiguration) The updated network configuration for Amazon ECS Managed Instances.networkConfiguration
(ManagedInstancesNetworkConfiguration networkConfiguration) The updated network configuration for Amazon ECS Managed Instances.storageConfiguration
(Consumer<ManagedInstancesStorageConfiguration.Builder> storageConfiguration) The updated storage configuration for Amazon ECS Managed Instances.storageConfiguration
(ManagedInstancesStorageConfiguration storageConfiguration) The updated storage configuration for Amazon ECS Managed Instances.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
-
ec2InstanceProfileArn
The updated Amazon Resource Name (ARN) of the instance profile. The new instance profile must have the necessary permissions for your tasks.
For more information, see Amazon ECS instance profile for Managed Instances in the Amazon ECS Developer Guide.
- Parameters:
ec2InstanceProfileArn
- The updated Amazon Resource Name (ARN) of the instance profile. The new instance profile must have the necessary permissions for your tasks.For more information, see Amazon ECS instance profile for Managed Instances in the Amazon ECS Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
InstanceLaunchTemplateUpdate.Builder networkConfiguration(ManagedInstancesNetworkConfiguration networkConfiguration) The updated network configuration for Amazon ECS Managed Instances. Changes to subnets and security groups affect new instances launched after the update.
- Parameters:
networkConfiguration
- The updated network configuration for Amazon ECS Managed Instances. Changes to subnets and security groups affect new instances launched after the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
default InstanceLaunchTemplateUpdate.Builder networkConfiguration(Consumer<ManagedInstancesNetworkConfiguration.Builder> networkConfiguration) The updated network configuration for Amazon ECS Managed Instances. Changes to subnets and security groups affect new instances launched after the update.
This is a convenience method that creates an instance of theManagedInstancesNetworkConfiguration.Builder
avoiding the need to create one manually viaManagedInstancesNetworkConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkConfiguration(ManagedInstancesNetworkConfiguration)
.- Parameters:
networkConfiguration
- a consumer that will call methods onManagedInstancesNetworkConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageConfiguration
InstanceLaunchTemplateUpdate.Builder storageConfiguration(ManagedInstancesStorageConfiguration storageConfiguration) The updated storage configuration for Amazon ECS Managed Instances. Changes to storage settings apply to new instances launched after the update.
- Parameters:
storageConfiguration
- The updated storage configuration for Amazon ECS Managed Instances. Changes to storage settings apply to new instances launched after the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageConfiguration
default InstanceLaunchTemplateUpdate.Builder storageConfiguration(Consumer<ManagedInstancesStorageConfiguration.Builder> storageConfiguration) The updated storage configuration for Amazon ECS Managed Instances. Changes to storage settings apply to new instances launched after the update.
This is a convenience method that creates an instance of theManagedInstancesStorageConfiguration.Builder
avoiding the need to create one manually viaManagedInstancesStorageConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostorageConfiguration(ManagedInstancesStorageConfiguration)
.- Parameters:
storageConfiguration
- a consumer that will call methods onManagedInstancesStorageConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitoring
CloudWatch provides two categories of monitoring: basic monitoring and detailed monitoring. By default, your managed instance is configured for basic monitoring. You can optionally enable detailed monitoring to help you more quickly identify and act on operational issues. You can enable or turn off detailed monitoring at launch or when the managed instance is running or stopped. For more information, see Detailed monitoring for Amazon ECS Managed Instances in the Amazon ECS Developer Guide.
- Parameters:
monitoring
- CloudWatch provides two categories of monitoring: basic monitoring and detailed monitoring. By default, your managed instance is configured for basic monitoring. You can optionally enable detailed monitoring to help you more quickly identify and act on operational issues. You can enable or turn off detailed monitoring at launch or when the managed instance is running or stopped. For more information, see Detailed monitoring for Amazon ECS Managed Instances in the Amazon ECS Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monitoring
CloudWatch provides two categories of monitoring: basic monitoring and detailed monitoring. By default, your managed instance is configured for basic monitoring. You can optionally enable detailed monitoring to help you more quickly identify and act on operational issues. You can enable or turn off detailed monitoring at launch or when the managed instance is running or stopped. For more information, see Detailed monitoring for Amazon ECS Managed Instances in the Amazon ECS Developer Guide.
- Parameters:
monitoring
- CloudWatch provides two categories of monitoring: basic monitoring and detailed monitoring. By default, your managed instance is configured for basic monitoring. You can optionally enable detailed monitoring to help you more quickly identify and act on operational issues. You can enable or turn off detailed monitoring at launch or when the managed instance is running or stopped. For more information, see Detailed monitoring for Amazon ECS Managed Instances in the Amazon ECS Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceRequirements
InstanceLaunchTemplateUpdate.Builder instanceRequirements(InstanceRequirementsRequest instanceRequirements) The updated instance requirements for attribute-based instance type selection. Changes to instance requirements affect which instance types Amazon ECS selects for new instances.
- Parameters:
instanceRequirements
- The updated instance requirements for attribute-based instance type selection. Changes to instance requirements affect which instance types Amazon ECS selects for new instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceRequirements
default InstanceLaunchTemplateUpdate.Builder instanceRequirements(Consumer<InstanceRequirementsRequest.Builder> instanceRequirements) The updated instance requirements for attribute-based instance type selection. Changes to instance requirements affect which instance types Amazon ECS selects for new instances.
This is a convenience method that creates an instance of theInstanceRequirementsRequest.Builder
avoiding the need to create one manually viaInstanceRequirementsRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceRequirements(InstanceRequirementsRequest)
.- Parameters:
instanceRequirements
- a consumer that will call methods onInstanceRequirementsRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-