@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.
|
List<String> |
getStagingAccountIDs()
An array of staging account IDs that extended source servers belong to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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.
|
void |
setStagingAccountIDs(Collection<String> stagingAccountIDs)
An array of staging account IDs that extended source servers belong to.
|
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.
|
DescribeSourceServersRequestFilters |
withStagingAccountIDs(Collection<String> stagingAccountIDs)
An array of staging account IDs that extended source servers belong to.
|
DescribeSourceServersRequestFilters |
withStagingAccountIDs(String... stagingAccountIDs)
An array of staging account IDs that extended source servers belong to.
|
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 List<String> getStagingAccountIDs()
An array of staging account IDs that extended source servers belong to. An empty array means all source servers will be shown.
public void setStagingAccountIDs(Collection<String> stagingAccountIDs)
An array of staging account IDs that extended source servers belong to. An empty array means all source servers will be shown.
stagingAccountIDs
- An array of staging account IDs that extended source servers belong to. An empty array means all source
servers will be shown.public DescribeSourceServersRequestFilters withStagingAccountIDs(String... stagingAccountIDs)
An array of staging account IDs that extended source servers belong to. An empty array means all source servers will be shown.
NOTE: This method appends the values to the existing list (if any). Use
setStagingAccountIDs(java.util.Collection)
or withStagingAccountIDs(java.util.Collection)
if
you want to override the existing values.
stagingAccountIDs
- An array of staging account IDs that extended source servers belong to. An empty array means all source
servers will be shown.public DescribeSourceServersRequestFilters withStagingAccountIDs(Collection<String> stagingAccountIDs)
An array of staging account IDs that extended source servers belong to. An empty array means all source servers will be shown.
stagingAccountIDs
- An array of staging account IDs that extended source servers belong to. An empty array means all source
servers will be shown.public String toString()
toString
in class Object
Object.toString()
public DescribeSourceServersRequestFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.