@Generated(value="software.amazon.awssdk:codegen") public final class ListArchivesResponse extends CloudWatchEventsResponse implements ToCopyableBuilder<ListArchivesResponse.Builder,ListArchivesResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListArchivesResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<Archive> |
archives()
An array of
Archive objects that include details about an archive. |
static ListArchivesResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasArchives()
Returns true if the Archives 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 |
nextToken()
The token returned by a previous call to retrieve the next set of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListArchivesResponse.Builder> |
serializableBuilderClass() |
ListArchivesResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasArchives()
public List<Archive> archives()
An array of Archive objects that include details about an archive.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasArchives() to see if a value was sent in this field.
Archive objects that include details about an archive.public String nextToken()
The token returned by a previous call to retrieve the next set of results.
public ListArchivesResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListArchivesResponse.Builder,ListArchivesResponse>toBuilder in class AwsResponsepublic static ListArchivesResponse.Builder builder()
public static Class<? extends ListArchivesResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.