Interface InstanceEventWindowAssociationTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceEventWindowAssociationTarget.Builder,
,InstanceEventWindowAssociationTarget> SdkBuilder<InstanceEventWindowAssociationTarget.Builder,
,InstanceEventWindowAssociationTarget> SdkPojo
- Enclosing class:
InstanceEventWindowAssociationTarget
-
Method Summary
Modifier and TypeMethodDescriptiondedicatedHostIds
(String... dedicatedHostIds) The IDs of the Dedicated Hosts associated with the event window.dedicatedHostIds
(Collection<String> dedicatedHostIds) The IDs of the Dedicated Hosts associated with the event window.instanceIds
(String... instanceIds) The IDs of the instances associated with the event window.instanceIds
(Collection<String> instanceIds) The IDs of the instances associated with the event window.tags
(Collection<Tag> tags) The instance tags associated with the event window.tags
(Consumer<Tag.Builder>... tags) The instance tags associated with the event window.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 Details
-
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
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
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
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
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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-
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
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.
-