@Generated(value="software.amazon.awssdk:codegen") public final class ListProjectsResponse extends DeviceFarmResponse implements ToCopyableBuilder<ListProjectsResponse.Builder,ListProjectsResponse>
Represents the result of a list projects request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListProjectsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListProjectsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasProjects()
Returns true if the Projects 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()
If the number of items that are returned is significantly large, this is an identifier that is also returned,
which can be used in a subsequent call to this operation to return the next set of items in the list.
|
List<Project> |
projects()
Information about the projects.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListProjectsResponse.Builder> |
serializableBuilderClass() |
ListProjectsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasProjects()
public List<Project> projects()
Information about the projects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasProjects() to see if a value was sent in this field.
public String nextToken()
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
public ListProjectsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListProjectsResponse.Builder,ListProjectsResponse>toBuilder in class AwsResponsepublic static ListProjectsResponse.Builder builder()
public static Class<? extends ListProjectsResponse.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 © 2019. All rights reserved.