@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 cross-account authorizations.
|
String |
getNextToken()
The token that identifies which batch of results you want to see.
|
int |
hashCode() |
void |
setCrossAccountAuthorizations(Collection<String> crossAccountAuthorizations)
A list of cross-account authorizations.
|
void |
setNextToken(String nextToken)
The token that identifies which batch of results you want to see.
|
String |
toString()
Returns a string representation of this object.
|
ListCrossAccountAuthorizationsResult |
withCrossAccountAuthorizations(Collection<String> crossAccountAuthorizations)
A list of cross-account authorizations.
|
ListCrossAccountAuthorizationsResult |
withCrossAccountAuthorizations(String... crossAccountAuthorizations)
A list of cross-account authorizations.
|
ListCrossAccountAuthorizationsResult |
withNextToken(String nextToken)
The token that identifies which batch of results you want to see.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListCrossAccountAuthorizationsResult()
public List<String> getCrossAccountAuthorizations()
A list of cross-account authorizations.
public void setCrossAccountAuthorizations(Collection<String> crossAccountAuthorizations)
A list of cross-account authorizations.
crossAccountAuthorizations
- A list of cross-account authorizations.public ListCrossAccountAuthorizationsResult withCrossAccountAuthorizations(String... crossAccountAuthorizations)
A list of cross-account authorizations.
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 cross-account authorizations.public ListCrossAccountAuthorizationsResult withCrossAccountAuthorizations(Collection<String> crossAccountAuthorizations)
A list of cross-account authorizations.
crossAccountAuthorizations
- A list of cross-account authorizations.public void setNextToken(String nextToken)
The token that identifies which batch of results you want to see.
nextToken
- The token that identifies which batch of results you want to see.public String getNextToken()
The token that identifies which batch of results you want to see.
public ListCrossAccountAuthorizationsResult withNextToken(String nextToken)
The token that identifies which batch of results you want to see.
nextToken
- The token that identifies which batch of results you want to see.public String toString()
toString
in class Object
Object.toString()
public ListCrossAccountAuthorizationsResult clone()