@Generated(value="software.amazon.awssdk:codegen") public final class DescribeSourceServersRequestFilters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DescribeSourceServersRequestFilters.Builder,DescribeSourceServersRequestFilters>
A set of filters by which to return Source Servers.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeSourceServersRequestFilters.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeSourceServersRequestFilters.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
hardwareId()
An ID that describes the hardware of the Source Server.
|
int |
hashCode() |
boolean |
hasSourceServerIDs()
For responses, this returns true if the service returned a value for the SourceServerIDs property.
|
boolean |
hasStagingAccountIDs()
For responses, this returns true if the service returned a value for the StagingAccountIDs property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeSourceServersRequestFilters.Builder> |
serializableBuilderClass() |
List<String> |
sourceServerIDs()
An array of Source Servers IDs that should be returned.
|
List<String> |
stagingAccountIDs()
An array of staging account IDs that extended source servers belong to.
|
DescribeSourceServersRequestFilters.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final boolean hasSourceServerIDs()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> sourceServerIDs()
An array of Source Servers IDs that should be returned. An empty array means all Source Servers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSourceServerIDs() method.
public final boolean hasStagingAccountIDs()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> stagingAccountIDs()
An array of staging account IDs that extended source servers belong to. An empty array means all source servers will be shown.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStagingAccountIDs() method.
public DescribeSourceServersRequestFilters.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeSourceServersRequestFilters.Builder,DescribeSourceServersRequestFilters>public static DescribeSourceServersRequestFilters.Builder builder()
public static Class<? extends DescribeSourceServersRequestFilters.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.