Interface InstanceMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceMetadata.Builder,
,InstanceMetadata> SdkBuilder<InstanceMetadata.Builder,
,InstanceMetadata> SdkPojo
- Enclosing class:
InstanceMetadata
-
Method Summary
Modifier and TypeMethodDescriptiondefault InstanceMetadata.Builder
additionalEnis
(Consumer<AdditionalEnis.Builder> additionalEnis) Information about additional Elastic Network Interfaces (ENIs) associated with the instance.additionalEnis
(AdditionalEnis additionalEnis) Information about additional Elastic Network Interfaces (ENIs) associated with the instance.default InstanceMetadata.Builder
capacityReservation
(Consumer<CapacityReservation.Builder> capacityReservation) Information about the Capacity Reservation used by the instance.capacityReservation
(CapacityReservation capacityReservation) Information about the Capacity Reservation used by the instance.customerEni
(String customerEni) The ID of the customer-managed Elastic Network Interface (ENI) associated with the instance.failureMessage
(String failureMessage) An error message describing why the instance creation or update failed, if applicable.lcsExecutionState
(String lcsExecutionState) The execution state of the Lifecycle Script (LCS) for the instance.nodeLogicalId
(String nodeLogicalId) The unique logical identifier of the node within the cluster.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
-
customerEni
The ID of the customer-managed Elastic Network Interface (ENI) associated with the instance.
- Parameters:
customerEni
- The ID of the customer-managed Elastic Network Interface (ENI) associated with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalEnis
Information about additional Elastic Network Interfaces (ENIs) associated with the instance.
- Parameters:
additionalEnis
- Information about additional Elastic Network Interfaces (ENIs) associated with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalEnis
Information about additional Elastic Network Interfaces (ENIs) associated with the instance.
This is a convenience method that creates an instance of theAdditionalEnis.Builder
avoiding the need to create one manually viaAdditionalEnis.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadditionalEnis(AdditionalEnis)
.- Parameters:
additionalEnis
- a consumer that will call methods onAdditionalEnis.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacityReservation
Information about the Capacity Reservation used by the instance.
- Parameters:
capacityReservation
- Information about the Capacity Reservation used by the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservation
default InstanceMetadata.Builder capacityReservation(Consumer<CapacityReservation.Builder> capacityReservation) Information about the Capacity Reservation used by the instance.
This is a convenience method that creates an instance of theCapacityReservation.Builder
avoiding the need to create one manually viaCapacityReservation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacityReservation(CapacityReservation)
.- Parameters:
capacityReservation
- a consumer that will call methods onCapacityReservation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureMessage
An error message describing why the instance creation or update failed, if applicable.
- Parameters:
failureMessage
- An error message describing why the instance creation or update failed, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lcsExecutionState
The execution state of the Lifecycle Script (LCS) for the instance.
- Parameters:
lcsExecutionState
- The execution state of the Lifecycle Script (LCS) for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeLogicalId
The unique logical identifier of the node within the cluster. The ID used here is the same object as in the
BatchAddClusterNodes
API.- Parameters:
nodeLogicalId
- The unique logical identifier of the node within the cluster. The ID used here is the same object as in theBatchAddClusterNodes
API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-