Interface InstanceEventWindowAssociationTarget.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceEventWindowAssociationTarget.Builder,InstanceEventWindowAssociationTarget>,SdkBuilder<InstanceEventWindowAssociationTarget.Builder,InstanceEventWindowAssociationTarget>,SdkPojo
- Enclosing class:
- InstanceEventWindowAssociationTarget
public static interface InstanceEventWindowAssociationTarget.Builder extends SdkPojo, CopyableBuilder<InstanceEventWindowAssociationTarget.Builder,InstanceEventWindowAssociationTarget>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceEventWindowAssociationTarget.BuilderdedicatedHostIds(String... dedicatedHostIds)The IDs of the Dedicated Hosts associated with the event window.InstanceEventWindowAssociationTarget.BuilderdedicatedHostIds(Collection<String> dedicatedHostIds)The IDs of the Dedicated Hosts associated with the event window.InstanceEventWindowAssociationTarget.BuilderinstanceIds(String... instanceIds)The IDs of the instances associated with the event window.InstanceEventWindowAssociationTarget.BuilderinstanceIds(Collection<String> instanceIds)The IDs of the instances associated with the event window.InstanceEventWindowAssociationTarget.Buildertags(Collection<Tag> tags)The instance tags associated with the event window.InstanceEventWindowAssociationTarget.Buildertags(Consumer<Tag.Builder>... tags)The instance tags associated with the event window.InstanceEventWindowAssociationTarget.Buildertags(Tag... tags)The instance tags associated 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
InstanceEventWindowAssociationTarget.Builder instanceIds(Collection<String> instanceIds)
The IDs of the instances associated with the event window.
- Parameters:
instanceIds- The IDs of the instances associated with the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIds
InstanceEventWindowAssociationTarget.Builder instanceIds(String... instanceIds)
The IDs of the instances associated with the event window.
- Parameters:
instanceIds- The IDs of the instances associated with the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
InstanceEventWindowAssociationTarget.Builder tags(Collection<Tag> tags)
The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.
Note that while you can't create tag keys beginning with
aws:, you can specify existing Amazon Web Services managed tag keys (with theaws:prefix) when specifying them as targets to associate with the event window.- Parameters:
tags- The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.Note that while you can't create tag keys beginning with
aws:, you can specify existing Amazon Web Services managed tag keys (with theaws:prefix) when specifying them as targets to associate with the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
InstanceEventWindowAssociationTarget.Builder tags(Tag... tags)
The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.
Note that while you can't create tag keys beginning with
aws:, you can specify existing Amazon Web Services managed tag keys (with theaws:prefix) when specifying them as targets to associate with the event window.- Parameters:
tags- The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.Note that while you can't create tag keys beginning with
aws:, you can specify existing Amazon Web Services managed tag keys (with theaws:prefix) when specifying them as targets to associate with the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
InstanceEventWindowAssociationTarget.Builder tags(Consumer<Tag.Builder>... tags)
The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.
Note that while you can't create tag keys beginning with
This is a convenience method that creates an instance of theaws:, you can specify existing Amazon Web Services managed tag keys (with theaws:prefix) when specifying them as targets to associate with the event window.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- 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:
#tags(java.util.Collection)
-
dedicatedHostIds
InstanceEventWindowAssociationTarget.Builder dedicatedHostIds(Collection<String> dedicatedHostIds)
The IDs of the Dedicated Hosts associated with the event window.
- Parameters:
dedicatedHostIds- The IDs of the Dedicated Hosts associated with the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dedicatedHostIds
InstanceEventWindowAssociationTarget.Builder dedicatedHostIds(String... dedicatedHostIds)
The IDs of the Dedicated Hosts associated with the event window.
- Parameters:
dedicatedHostIds- The IDs of the Dedicated Hosts associated with the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-