Interface InstanceEventWindowAssociationRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceEventWindowAssociationRequest.Builder,InstanceEventWindowAssociationRequest>,SdkBuilder<InstanceEventWindowAssociationRequest.Builder,InstanceEventWindowAssociationRequest>,SdkPojo
- Enclosing class:
- InstanceEventWindowAssociationRequest
public static interface InstanceEventWindowAssociationRequest.Builder extends SdkPojo, CopyableBuilder<InstanceEventWindowAssociationRequest.Builder,InstanceEventWindowAssociationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceEventWindowAssociationRequest.BuilderdedicatedHostIds(String... dedicatedHostIds)The IDs of the Dedicated Hosts to associate with the event window.InstanceEventWindowAssociationRequest.BuilderdedicatedHostIds(Collection<String> dedicatedHostIds)The IDs of the Dedicated Hosts to associate with the event window.InstanceEventWindowAssociationRequest.BuilderinstanceIds(String... instanceIds)The IDs of the instances to associate with the event window.InstanceEventWindowAssociationRequest.BuilderinstanceIds(Collection<String> instanceIds)The IDs of the instances to associate with the event window.InstanceEventWindowAssociationRequest.BuilderinstanceTags(Collection<Tag> instanceTags)The instance tags to associate with the event window.InstanceEventWindowAssociationRequest.BuilderinstanceTags(Consumer<Tag.Builder>... instanceTags)The instance tags to associate with the event window.InstanceEventWindowAssociationRequest.BuilderinstanceTags(Tag... instanceTags)The instance tags to associate with 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
instanceIds
InstanceEventWindowAssociationRequest.Builder instanceIds(Collection<String> instanceIds)
The IDs of the instances to associate with the event window. If the instance is on a Dedicated Host, you can't specify the Instance ID parameter; you must use the Dedicated Host ID parameter.
- Parameters:
instanceIds- The IDs of the instances to associate with the event window. If the instance is on a Dedicated Host, you can't specify the Instance ID parameter; you must use the Dedicated Host ID parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIds
InstanceEventWindowAssociationRequest.Builder instanceIds(String... instanceIds)
The IDs of the instances to associate with the event window. If the instance is on a Dedicated Host, you can't specify the Instance ID parameter; you must use the Dedicated Host ID parameter.
- Parameters:
instanceIds- The IDs of the instances to associate with the event window. If the instance is on a Dedicated Host, you can't specify the Instance ID parameter; you must use the Dedicated Host ID parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTags
InstanceEventWindowAssociationRequest.Builder instanceTags(Collection<Tag> instanceTags)
The instance tags to associate with the event window. Any instances associated with the tags will be associated with the event window.
- Parameters:
instanceTags- The instance tags to associate with the event window. Any instances associated with the tags will be associated with the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTags
InstanceEventWindowAssociationRequest.Builder instanceTags(Tag... instanceTags)
The instance tags to associate with the event window. Any instances associated with the tags will be associated with the event window.
- Parameters:
instanceTags- The instance tags to associate with the event window. Any instances associated with the tags will be associated with the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTags
InstanceEventWindowAssociationRequest.Builder instanceTags(Consumer<Tag.Builder>... instanceTags)
The instance tags to associate with the event window. Any instances associated with the tags will be associated with the event window.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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
InstanceEventWindowAssociationRequest.Builder dedicatedHostIds(Collection<String> dedicatedHostIds)
The IDs of the Dedicated Hosts to associate with the event window.
- Parameters:
dedicatedHostIds- The IDs of the Dedicated Hosts to associate with the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dedicatedHostIds
InstanceEventWindowAssociationRequest.Builder dedicatedHostIds(String... dedicatedHostIds)
The IDs of the Dedicated Hosts to associate with the event window.
- Parameters:
dedicatedHostIds- The IDs of the Dedicated Hosts to associate with the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-