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