@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSourceServersRequestFilters extends Object implements Serializable, Cloneable, StructuredPojo
A set of filters by which to return Source Servers.
| Constructor and Description |
|---|
DescribeSourceServersRequestFilters() |
| Modifier and Type | Method and Description |
|---|---|
DescribeSourceServersRequestFilters |
clone() |
boolean |
equals(Object obj) |
String |
getHardwareId()
An ID that describes the hardware of the Source Server.
|
List<String> |
getSourceServerIDs()
An array of Source Servers IDs that should be returned.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setHardwareId(String hardwareId)
An ID that describes the hardware of the Source Server.
|
void |
setSourceServerIDs(Collection<String> sourceServerIDs)
An array of Source Servers IDs that should be returned.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSourceServersRequestFilters |
withHardwareId(String hardwareId)
An ID that describes the hardware of the Source Server.
|
DescribeSourceServersRequestFilters |
withSourceServerIDs(Collection<String> sourceServerIDs)
An array of Source Servers IDs that should be returned.
|
DescribeSourceServersRequestFilters |
withSourceServerIDs(String... sourceServerIDs)
An array of Source Servers IDs that should be returned.
|
public void setHardwareId(String hardwareId)
An ID that describes the hardware of the Source Server. This is either an EC2 instance id, a VMware uuid or a mac address.
hardwareId - An ID that describes the hardware of the Source Server. This is either an EC2 instance id, a VMware uuid
or a mac address.public String getHardwareId()
An ID that describes the hardware of the Source Server. This is either an EC2 instance id, a VMware uuid or a mac address.
public DescribeSourceServersRequestFilters withHardwareId(String hardwareId)
An ID that describes the hardware of the Source Server. This is either an EC2 instance id, a VMware uuid or a mac address.
hardwareId - An ID that describes the hardware of the Source Server. This is either an EC2 instance id, a VMware uuid
or a mac address.public List<String> getSourceServerIDs()
An array of Source Servers IDs that should be returned. An empty array means all Source Servers.
public void setSourceServerIDs(Collection<String> sourceServerIDs)
An array of Source Servers IDs that should be returned. An empty array means all Source Servers.
sourceServerIDs - An array of Source Servers IDs that should be returned. An empty array means all Source Servers.public DescribeSourceServersRequestFilters withSourceServerIDs(String... sourceServerIDs)
An array of Source Servers IDs that should be returned. An empty array means all Source Servers.
NOTE: This method appends the values to the existing list (if any). Use
setSourceServerIDs(java.util.Collection) or withSourceServerIDs(java.util.Collection) if you
want to override the existing values.
sourceServerIDs - An array of Source Servers IDs that should be returned. An empty array means all Source Servers.public DescribeSourceServersRequestFilters withSourceServerIDs(Collection<String> sourceServerIDs)
An array of Source Servers IDs that should be returned. An empty array means all Source Servers.
sourceServerIDs - An array of Source Servers IDs that should be returned. An empty array means all Source Servers.public String toString()
toString in class ObjectObject.toString()public DescribeSourceServersRequestFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.