@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePrincipalIdFormatResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribePrincipalIdFormatResult() |
Modifier and Type | Method and Description |
---|---|
DescribePrincipalIdFormatResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<PrincipalIdFormat> |
getPrincipals()
Information about the ID format settings for the ARN.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setPrincipals(Collection<PrincipalIdFormat> principals)
Information about the ID format settings for the ARN.
|
String |
toString()
Returns a string representation of this object.
|
DescribePrincipalIdFormatResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribePrincipalIdFormatResult |
withPrincipals(Collection<PrincipalIdFormat> principals)
Information about the ID format settings for the ARN.
|
DescribePrincipalIdFormatResult |
withPrincipals(PrincipalIdFormat... principals)
Information about the ID format settings for the ARN.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PrincipalIdFormat> getPrincipals()
Information about the ID format settings for the ARN.
public void setPrincipals(Collection<PrincipalIdFormat> principals)
Information about the ID format settings for the ARN.
principals
- Information about the ID format settings for the ARN.public DescribePrincipalIdFormatResult withPrincipals(PrincipalIdFormat... principals)
Information about the ID format settings for the ARN.
NOTE: This method appends the values to the existing list (if any). Use
setPrincipals(java.util.Collection)
or withPrincipals(java.util.Collection)
if you want to
override the existing values.
principals
- Information about the ID format settings for the ARN.public DescribePrincipalIdFormatResult withPrincipals(Collection<PrincipalIdFormat> principals)
Information about the ID format settings for the ARN.
principals
- Information about the ID format settings for the ARN.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null when there are no more results
to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
public DescribePrincipalIdFormatResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null when there are no more results
to return.public String toString()
toString
in class Object
Object.toString()
public DescribePrincipalIdFormatResult clone()
Copyright © 2024. All rights reserved.