Interface InstanceLaunchTemplateUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceLaunchTemplateUpdate.Builder,,InstanceLaunchTemplateUpdate> SdkBuilder<InstanceLaunchTemplateUpdate.Builder,,InstanceLaunchTemplateUpdate> SdkPojo
- Enclosing class:
InstanceLaunchTemplateUpdate
-
Method Summary
Modifier and TypeMethodDescriptioncapacityReservations(Consumer<CapacityReservationRequest.Builder> capacityReservations) The updated capacity reservation configuration.capacityReservations(CapacityReservationRequest capacityReservations) The updated capacity reservation configuration.ec2InstanceProfileArn(String ec2InstanceProfileArn) The updated Amazon Resource Name (ARN) of the Amazon EC2 instance profile for the managed instances.instanceMetadataTagsPropagation(Boolean instanceMetadataTagsPropagation) Specifies whether instance tags are accessible from the instance metadata service (IMDS).instanceRequirements(Consumer<InstanceRequirementsRequest.Builder> instanceRequirements) The updated instance type requirements for the capacity provider.instanceRequirements(InstanceRequirementsRequest instanceRequirements) The updated instance type requirements for the capacity provider.localStorageConfiguration(Consumer<ManagedInstancesLocalStorageConfiguration.Builder> localStorageConfiguration) The updated local storage configuration.localStorageConfiguration(ManagedInstancesLocalStorageConfiguration localStorageConfiguration) The updated local storage configuration.monitoring(String monitoring) The updated monitoring level.networkConfiguration(Consumer<ManagedInstancesNetworkConfiguration.Builder> networkConfiguration) The updated network configuration for the managed instances.networkConfiguration(ManagedInstancesNetworkConfiguration networkConfiguration) The updated network configuration for the managed instances.storageConfiguration(Consumer<ManagedInstancesStorageConfiguration.Builder> storageConfiguration) The updated storage configuration for the managed instances.storageConfiguration(ManagedInstancesStorageConfiguration storageConfiguration) The updated storage configuration for the managed instances.Methods 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, sdkFields
-
Method Details
-
ec2InstanceProfileArn
The updated Amazon Resource Name (ARN) of the Amazon EC2 instance profile for the managed instances.
- Parameters:
ec2InstanceProfileArn- The updated Amazon Resource Name (ARN) of the Amazon EC2 instance profile for the managed instances.- 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 the managed instances.
- Parameters:
networkConfiguration- The updated network configuration for the managed instances.- 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 the managed instances.
This is a convenience method that creates an instance of theManagedInstancesNetworkConfiguration.Builderavoiding the need to create one manually viaManagedInstancesNetworkConfiguration.builder().When the
Consumercompletes,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:
-
instanceRequirements
InstanceLaunchTemplateUpdate.Builder instanceRequirements(InstanceRequirementsRequest instanceRequirements) The updated instance type requirements for the capacity provider.
- Parameters:
instanceRequirements- The updated instance type requirements for the capacity provider.- 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 type requirements for the capacity provider.
This is a convenience method that creates an instance of theInstanceRequirementsRequest.Builderavoiding the need to create one manually viaInstanceRequirementsRequest.builder().When the
Consumercompletes,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:
-
storageConfiguration
InstanceLaunchTemplateUpdate.Builder storageConfiguration(ManagedInstancesStorageConfiguration storageConfiguration) The updated storage configuration for the managed instances.
- Parameters:
storageConfiguration- The updated storage configuration for the managed instances.- 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 the managed instances.
This is a convenience method that creates an instance of theManagedInstancesStorageConfiguration.Builderavoiding the need to create one manually viaManagedInstancesStorageConfiguration.builder().When the
Consumercompletes,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
The updated monitoring level. Valid values are
BASICandDETAILED.- Parameters:
monitoring- The updated monitoring level. Valid values areBASICandDETAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservations
InstanceLaunchTemplateUpdate.Builder capacityReservations(CapacityReservationRequest capacityReservations) The updated capacity reservation configuration.
- Parameters:
capacityReservations- The updated capacity reservation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservations
default InstanceLaunchTemplateUpdate.Builder capacityReservations(Consumer<CapacityReservationRequest.Builder> capacityReservations) The updated capacity reservation configuration.
This is a convenience method that creates an instance of theCapacityReservationRequest.Builderavoiding the need to create one manually viaCapacityReservationRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityReservations(CapacityReservationRequest).- Parameters:
capacityReservations- a consumer that will call methods onCapacityReservationRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceMetadataTagsPropagation
InstanceLaunchTemplateUpdate.Builder instanceMetadataTagsPropagation(Boolean instanceMetadataTagsPropagation) Specifies whether instance tags are accessible from the instance metadata service (IMDS).
- Parameters:
instanceMetadataTagsPropagation- Specifies whether instance tags are accessible from the instance metadata service (IMDS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localStorageConfiguration
InstanceLaunchTemplateUpdate.Builder localStorageConfiguration(ManagedInstancesLocalStorageConfiguration localStorageConfiguration) The updated local storage configuration.
- Parameters:
localStorageConfiguration- The updated local storage configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localStorageConfiguration
default InstanceLaunchTemplateUpdate.Builder localStorageConfiguration(Consumer<ManagedInstancesLocalStorageConfiguration.Builder> localStorageConfiguration) The updated local storage configuration.
This is a convenience method that creates an instance of theManagedInstancesLocalStorageConfiguration.Builderavoiding the need to create one manually viaManagedInstancesLocalStorageConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocalStorageConfiguration(ManagedInstancesLocalStorageConfiguration).- Parameters:
localStorageConfiguration- a consumer that will call methods onManagedInstancesLocalStorageConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-