@Generated(value="software.amazon.awssdk:codegen") public final class ListGatewaysResponse extends StorageGatewayResponse implements ToCopyableBuilder<ListGatewaysResponse.Builder,ListGatewaysResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListGatewaysResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListGatewaysResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<GatewayInfo> |
gateways()
An array of GatewayInfo objects.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasGateways()
Returns true if the Gateways property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
marker()
Use the marker in your next request to fetch the next set of gateways in the list.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListGatewaysResponse.Builder> |
serializableBuilderClass() |
ListGatewaysResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasGateways()
public final List<GatewayInfo> gateways()
An array of GatewayInfo objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGateways() to see if a value was sent in this field.
public final String marker()
Use the marker in your next request to fetch the next set of gateways in the list. If there are no more gateways to list, this field does not appear in the response.
public ListGatewaysResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListGatewaysResponse.Builder,ListGatewaysResponse>toBuilder in class AwsResponsepublic static ListGatewaysResponse.Builder builder()
public static Class<? extends ListGatewaysResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.