Interface InstanceAttributeUpdates.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceAttributeUpdates.Builder,,InstanceAttributeUpdates> SdkBuilder<InstanceAttributeUpdates.Builder,,InstanceAttributeUpdates> SdkPojo
- Enclosing class:
InstanceAttributeUpdates
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the bundle to update the instance to.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
-
bundleId
The ID of the bundle to update the instance to.
Specify one of the following values for the bundle ID:
-
auto– Updates an instance that runs on a previous-generation bundle to the newer-generation equivalent of that bundle. For example, specifyautoto update an instance that runs onsmall_2_0tosmall_3_0. -
Newer-generation bundle ID – Updates an instance that runs on a previous-generation bundle to the specified bundle. For example, specify
small_3_0to update an instance that runs onsmall_2_0tosmall_3_0. -
Original bundle ID – Updates an instance to the previous-generation bundle that it ran on before an earlier update. For example, specify
small_2_0to return an instance that runs onsmall_3_0tosmall_2_0.
The instance must be in the
stoppedstate to update its bundle.There is no additional cost to update an instance to a newer-generation bundle.
- Parameters:
bundleId- The ID of the bundle to update the instance to.Specify one of the following values for the bundle ID:
-
auto– Updates an instance that runs on a previous-generation bundle to the newer-generation equivalent of that bundle. For example, specifyautoto update an instance that runs onsmall_2_0tosmall_3_0. -
Newer-generation bundle ID – Updates an instance that runs on a previous-generation bundle to the specified bundle. For example, specify
small_3_0to update an instance that runs onsmall_2_0tosmall_3_0. -
Original bundle ID – Updates an instance to the previous-generation bundle that it ran on before an earlier update. For example, specify
small_2_0to return an instance that runs onsmall_3_0tosmall_2_0.
The instance must be in the
stoppedstate to update its bundle.There is no additional cost to update an instance to a newer-generation bundle.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-