@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBackendEnvironmentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The result structure for the list backend environments result.
| Constructor and Description |
|---|
ListBackendEnvironmentsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListBackendEnvironmentsResult |
clone() |
boolean |
equals(Object obj) |
List<BackendEnvironment> |
getBackendEnvironments()
The list of backend environments for an Amplify app.
|
String |
getNextToken()
A pagination token.
|
int |
hashCode() |
void |
setBackendEnvironments(Collection<BackendEnvironment> backendEnvironments)
The list of backend environments for an Amplify app.
|
void |
setNextToken(String nextToken)
A pagination token.
|
String |
toString()
Returns a string representation of this object.
|
ListBackendEnvironmentsResult |
withBackendEnvironments(BackendEnvironment... backendEnvironments)
The list of backend environments for an Amplify app.
|
ListBackendEnvironmentsResult |
withBackendEnvironments(Collection<BackendEnvironment> backendEnvironments)
The list of backend environments for an Amplify app.
|
ListBackendEnvironmentsResult |
withNextToken(String nextToken)
A pagination token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<BackendEnvironment> getBackendEnvironments()
The list of backend environments for an Amplify app.
public void setBackendEnvironments(Collection<BackendEnvironment> backendEnvironments)
The list of backend environments for an Amplify app.
backendEnvironments - The list of backend environments for an Amplify app.public ListBackendEnvironmentsResult withBackendEnvironments(BackendEnvironment... backendEnvironments)
The list of backend environments for an Amplify app.
NOTE: This method appends the values to the existing list (if any). Use
setBackendEnvironments(java.util.Collection) or withBackendEnvironments(java.util.Collection)
if you want to override the existing values.
backendEnvironments - The list of backend environments for an Amplify app.public ListBackendEnvironmentsResult withBackendEnvironments(Collection<BackendEnvironment> backendEnvironments)
The list of backend environments for an Amplify app.
backendEnvironments - The list of backend environments for an Amplify app.public void setNextToken(String nextToken)
A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
nextToken - A pagination token. If a non-null pagination token is returned in a result, pass its value in another
request to retrieve more entries.public String getNextToken()
A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
public ListBackendEnvironmentsResult withNextToken(String nextToken)
A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
nextToken - A pagination token. If a non-null pagination token is returned in a result, pass its value in another
request to retrieve more entries.public String toString()
toString in class ObjectObject.toString()public ListBackendEnvironmentsResult clone()