Interface ReservedInstancesModification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservedInstancesModification.Builder,
,ReservedInstancesModification> SdkBuilder<ReservedInstancesModification.Builder,
,ReservedInstancesModification> SdkPojo
- Enclosing class:
ReservedInstancesModification
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive key supplied by the client to ensure that the request is idempotent.createDate
(Instant createDate) The time when the modification request was created.effectiveDate
(Instant effectiveDate) The time for the modification to become effective.modificationResults
(Collection<ReservedInstancesModificationResult> modificationResults) Contains target configurations along with their corresponding new Reserved Instance IDs.modificationResults
(Consumer<ReservedInstancesModificationResult.Builder>... modificationResults) Contains target configurations along with their corresponding new Reserved Instance IDs.modificationResults
(ReservedInstancesModificationResult... modificationResults) Contains target configurations along with their corresponding new Reserved Instance IDs.reservedInstancesIds
(Collection<ReservedInstancesId> reservedInstancesIds) The IDs of one or more Reserved Instances.reservedInstancesIds
(Consumer<ReservedInstancesId.Builder>... reservedInstancesIds) The IDs of one or more Reserved Instances.reservedInstancesIds
(ReservedInstancesId... reservedInstancesIds) The IDs of one or more Reserved Instances.reservedInstancesModificationId
(String reservedInstancesModificationId) A unique ID for the Reserved Instance modification.The status of the Reserved Instances modification request.statusMessage
(String statusMessage) The reason for the status.updateDate
(Instant updateDate) The time when the modification request was last updated.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, sdkFields
-
Method Details
-
clientToken
A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.
- Parameters:
clientToken
- A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createDate
The time when the modification request was created.
- Parameters:
createDate
- The time when the modification request was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveDate
The time for the modification to become effective.
- Parameters:
effectiveDate
- The time for the modification to become effective.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modificationResults
ReservedInstancesModification.Builder modificationResults(Collection<ReservedInstancesModificationResult> modificationResults) Contains target configurations along with their corresponding new Reserved Instance IDs.
- Parameters:
modificationResults
- Contains target configurations along with their corresponding new Reserved Instance IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modificationResults
ReservedInstancesModification.Builder modificationResults(ReservedInstancesModificationResult... modificationResults) Contains target configurations along with their corresponding new Reserved Instance IDs.
- Parameters:
modificationResults
- Contains target configurations along with their corresponding new Reserved Instance IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modificationResults
ReservedInstancesModification.Builder modificationResults(Consumer<ReservedInstancesModificationResult.Builder>... modificationResults) Contains target configurations along with their corresponding new Reserved Instance IDs.
This is a convenience method that creates an instance of theReservedInstancesModificationResult.Builder
avoiding the need to create one manually viaReservedInstancesModificationResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodificationResults(List<ReservedInstancesModificationResult>)
.- Parameters:
modificationResults
- a consumer that will call methods onReservedInstancesModificationResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reservedInstancesIds
ReservedInstancesModification.Builder reservedInstancesIds(Collection<ReservedInstancesId> reservedInstancesIds) The IDs of one or more Reserved Instances.
- Parameters:
reservedInstancesIds
- The IDs of one or more Reserved Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedInstancesIds
ReservedInstancesModification.Builder reservedInstancesIds(ReservedInstancesId... reservedInstancesIds) The IDs of one or more Reserved Instances.
- Parameters:
reservedInstancesIds
- The IDs of one or more Reserved Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedInstancesIds
ReservedInstancesModification.Builder reservedInstancesIds(Consumer<ReservedInstancesId.Builder>... reservedInstancesIds) The IDs of one or more Reserved Instances.
This is a convenience method that creates an instance of theReservedInstancesId.Builder
avoiding the need to create one manually viaReservedInstancesId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreservedInstancesIds(List<ReservedInstancesId>)
.- Parameters:
reservedInstancesIds
- a consumer that will call methods onReservedInstancesId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reservedInstancesModificationId
ReservedInstancesModification.Builder reservedInstancesModificationId(String reservedInstancesModificationId) A unique ID for the Reserved Instance modification.
- Parameters:
reservedInstancesModificationId
- A unique ID for the Reserved Instance modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the Reserved Instances modification request.
- Parameters:
status
- The status of the Reserved Instances modification request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusMessage
The reason for the status.
- Parameters:
statusMessage
- The reason for the status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateDate
The time when the modification request was last updated.
- Parameters:
updateDate
- The time when the modification request was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-