@Generated(value="software.amazon.awssdk:codegen") public final class ListWorkspacesResponse extends AmpResponse implements ToCopyableBuilder<ListWorkspacesResponse.Builder,ListWorkspacesResponse>
Represents the output of a ListWorkspaces operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListWorkspacesResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListWorkspacesResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasWorkspaces()
Returns true if the Workspaces property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
nextToken()
Pagination token to use when requesting the next page in this list.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListWorkspacesResponse.Builder> |
serializableBuilderClass() |
ListWorkspacesResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<WorkspaceSummary> |
workspaces()
The list of existing workspaces, including those undergoing creation or deletion.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String nextToken()
Pagination token to use when requesting the next page in this list.
public final boolean hasWorkspaces()
public final List<WorkspaceSummary> workspaces()
The list of existing workspaces, including those undergoing creation or deletion.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasWorkspaces() to see if a value was sent in this field.
public ListWorkspacesResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListWorkspacesResponse.Builder,ListWorkspacesResponse>toBuilder in class AwsResponsepublic static ListWorkspacesResponse.Builder builder()
public static Class<? extends ListWorkspacesResponse.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.