Interface InstanceEventWindowDisassociationRequest.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceEventWindowDisassociationRequest.Builder,InstanceEventWindowDisassociationRequest>
,SdkBuilder<InstanceEventWindowDisassociationRequest.Builder,InstanceEventWindowDisassociationRequest>
,SdkPojo
- Enclosing class:
- InstanceEventWindowDisassociationRequest
public static interface InstanceEventWindowDisassociationRequest.Builder extends SdkPojo, CopyableBuilder<InstanceEventWindowDisassociationRequest.Builder,InstanceEventWindowDisassociationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceEventWindowDisassociationRequest.Builder
dedicatedHostIds(String... dedicatedHostIds)
The IDs of the Dedicated Hosts to disassociate from the event window.InstanceEventWindowDisassociationRequest.Builder
dedicatedHostIds(Collection<String> dedicatedHostIds)
The IDs of the Dedicated Hosts to disassociate from the event window.InstanceEventWindowDisassociationRequest.Builder
instanceIds(String... instanceIds)
The IDs of the instances to disassociate from the event window.InstanceEventWindowDisassociationRequest.Builder
instanceIds(Collection<String> instanceIds)
The IDs of the instances to disassociate from the event window.InstanceEventWindowDisassociationRequest.Builder
instanceTags(Collection<Tag> instanceTags)
The instance tags to disassociate from the event window.InstanceEventWindowDisassociationRequest.Builder
instanceTags(Consumer<Tag.Builder>... instanceTags)
The instance tags to disassociate from the event window.InstanceEventWindowDisassociationRequest.Builder
instanceTags(Tag... instanceTags)
The instance tags to disassociate from the event window.-
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 Detail
-
instanceIds
InstanceEventWindowDisassociationRequest.Builder instanceIds(Collection<String> instanceIds)
The IDs of the instances to disassociate from the event window.
- Parameters:
instanceIds
- The IDs of the instances to disassociate from the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIds
InstanceEventWindowDisassociationRequest.Builder instanceIds(String... instanceIds)
The IDs of the instances to disassociate from the event window.
- Parameters:
instanceIds
- The IDs of the instances to disassociate from the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTags
InstanceEventWindowDisassociationRequest.Builder instanceTags(Collection<Tag> instanceTags)
The instance tags to disassociate from the event window. Any instances associated with the tags will be disassociated from the event window.
- Parameters:
instanceTags
- The instance tags to disassociate from the event window. Any instances associated with the tags will be disassociated from the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTags
InstanceEventWindowDisassociationRequest.Builder instanceTags(Tag... instanceTags)
The instance tags to disassociate from the event window. Any instances associated with the tags will be disassociated from the event window.
- Parameters:
instanceTags
- The instance tags to disassociate from the event window. Any instances associated with the tags will be disassociated from the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTags
InstanceEventWindowDisassociationRequest.Builder instanceTags(Consumer<Tag.Builder>... instanceTags)
The instance tags to disassociate from the event window. Any instances associated with the tags will be disassociated from the event window.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#instanceTags(List
.) - Parameters:
instanceTags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#instanceTags(java.util.Collection
)
-
dedicatedHostIds
InstanceEventWindowDisassociationRequest.Builder dedicatedHostIds(Collection<String> dedicatedHostIds)
The IDs of the Dedicated Hosts to disassociate from the event window.
- Parameters:
dedicatedHostIds
- The IDs of the Dedicated Hosts to disassociate from the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dedicatedHostIds
InstanceEventWindowDisassociationRequest.Builder dedicatedHostIds(String... dedicatedHostIds)
The IDs of the Dedicated Hosts to disassociate from the event window.
- Parameters:
dedicatedHostIds
- The IDs of the Dedicated Hosts to disassociate from the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-