@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCrossAccountAuthorizationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCrossAccountAuthorizationsResult() |
Modifier and Type | Method and Description |
---|---|
ListCrossAccountAuthorizationsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCrossAccountAuthorizations()
A list of CrossAccountAuthorizations
|
String |
getNextToken()
A token that can be used to resume pagination from the end of the collection.
|
int |
hashCode() |
void |
setCrossAccountAuthorizations(Collection<String> crossAccountAuthorizations)
A list of CrossAccountAuthorizations
|
void |
setNextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
String |
toString()
Returns a string representation of this object.
|
ListCrossAccountAuthorizationsResult |
withCrossAccountAuthorizations(Collection<String> crossAccountAuthorizations)
A list of CrossAccountAuthorizations
|
ListCrossAccountAuthorizationsResult |
withCrossAccountAuthorizations(String... crossAccountAuthorizations)
A list of CrossAccountAuthorizations
|
ListCrossAccountAuthorizationsResult |
withNextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListCrossAccountAuthorizationsResult()
public List<String> getCrossAccountAuthorizations()
public void setCrossAccountAuthorizations(Collection<String> crossAccountAuthorizations)
crossAccountAuthorizations
- A list of CrossAccountAuthorizationspublic ListCrossAccountAuthorizationsResult withCrossAccountAuthorizations(String... crossAccountAuthorizations)
NOTE: This method appends the values to the existing list (if any). Use
setCrossAccountAuthorizations(java.util.Collection)
or
withCrossAccountAuthorizations(java.util.Collection)
if you want to override the existing values.
crossAccountAuthorizations
- A list of CrossAccountAuthorizationspublic ListCrossAccountAuthorizationsResult withCrossAccountAuthorizations(Collection<String> crossAccountAuthorizations)
crossAccountAuthorizations
- A list of CrossAccountAuthorizationspublic void setNextToken(String nextToken)
nextToken
- A token that can be used to resume pagination from the end of the collection.public String getNextToken()
public ListCrossAccountAuthorizationsResult withNextToken(String nextToken)
nextToken
- A token that can be used to resume pagination from the end of the collection.public String toString()
toString
in class Object
Object.toString()
public ListCrossAccountAuthorizationsResult clone()