@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceEventWindowAssociationTarget extends Object implements Serializable, Cloneable
One or more targets associated with the event window.
Constructor and Description |
---|
InstanceEventWindowAssociationTarget() |
Modifier and Type | Method and Description |
---|---|
InstanceEventWindowAssociationTarget |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDedicatedHostIds()
The IDs of the Dedicated Hosts associated with the event window.
|
List<String> |
getInstanceIds()
The IDs of the instances associated with the event window.
|
List<Tag> |
getTags()
The instance tags associated with the event window.
|
int |
hashCode() |
void |
setDedicatedHostIds(Collection<String> dedicatedHostIds)
The IDs of the Dedicated Hosts associated with the event window.
|
void |
setInstanceIds(Collection<String> instanceIds)
The IDs of the instances associated with the event window.
|
void |
setTags(Collection<Tag> tags)
The instance tags associated with the event window.
|
String |
toString()
Returns a string representation of this object.
|
InstanceEventWindowAssociationTarget |
withDedicatedHostIds(Collection<String> dedicatedHostIds)
The IDs of the Dedicated Hosts associated with the event window.
|
InstanceEventWindowAssociationTarget |
withDedicatedHostIds(String... dedicatedHostIds)
The IDs of the Dedicated Hosts associated with the event window.
|
InstanceEventWindowAssociationTarget |
withInstanceIds(Collection<String> instanceIds)
The IDs of the instances associated with the event window.
|
InstanceEventWindowAssociationTarget |
withInstanceIds(String... instanceIds)
The IDs of the instances associated with the event window.
|
InstanceEventWindowAssociationTarget |
withTags(Collection<Tag> tags)
The instance tags associated with the event window.
|
InstanceEventWindowAssociationTarget |
withTags(Tag... tags)
The instance tags associated with the event window.
|
public InstanceEventWindowAssociationTarget()
public List<String> getInstanceIds()
The IDs of the instances associated with the event window.
public void setInstanceIds(Collection<String> instanceIds)
The IDs of the instances associated with the event window.
instanceIds
- The IDs of the instances associated with the event window.public InstanceEventWindowAssociationTarget withInstanceIds(String... instanceIds)
The IDs of the instances associated with the event window.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceIds(java.util.Collection)
or withInstanceIds(java.util.Collection)
if you want to
override the existing values.
instanceIds
- The IDs of the instances associated with the event window.public InstanceEventWindowAssociationTarget withInstanceIds(Collection<String> instanceIds)
The IDs of the instances associated with the event window.
instanceIds
- The IDs of the instances associated with the event window.public List<Tag> getTags()
The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.
public void setTags(Collection<Tag> tags)
The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.
tags
- The instance tags associated with the event window. Any instances associated with the tags will be
associated with the event window.public InstanceEventWindowAssociationTarget withTags(Tag... tags)
The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The instance tags associated with the event window. Any instances associated with the tags will be
associated with the event window.public InstanceEventWindowAssociationTarget withTags(Collection<Tag> tags)
The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.
tags
- The instance tags associated with the event window. Any instances associated with the tags will be
associated with the event window.public List<String> getDedicatedHostIds()
The IDs of the Dedicated Hosts associated with the event window.
public void setDedicatedHostIds(Collection<String> dedicatedHostIds)
The IDs of the Dedicated Hosts associated with the event window.
dedicatedHostIds
- The IDs of the Dedicated Hosts associated with the event window.public InstanceEventWindowAssociationTarget withDedicatedHostIds(String... dedicatedHostIds)
The IDs of the Dedicated Hosts associated with the event window.
NOTE: This method appends the values to the existing list (if any). Use
setDedicatedHostIds(java.util.Collection)
or withDedicatedHostIds(java.util.Collection)
if you
want to override the existing values.
dedicatedHostIds
- The IDs of the Dedicated Hosts associated with the event window.public InstanceEventWindowAssociationTarget withDedicatedHostIds(Collection<String> dedicatedHostIds)
The IDs of the Dedicated Hosts associated with the event window.
dedicatedHostIds
- The IDs of the Dedicated Hosts associated with the event window.public String toString()
toString
in class Object
Object.toString()
public InstanceEventWindowAssociationTarget clone()