@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetManagedPrefixListAssociationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetManagedPrefixListAssociationsResult() |
Modifier and Type | Method and Description |
---|---|
GetManagedPrefixListAssociationsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<PrefixListAssociation> |
getPrefixListAssociations()
Information about the associations.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setPrefixListAssociations(Collection<PrefixListAssociation> prefixListAssociations)
Information about the associations.
|
String |
toString()
Returns a string representation of this object.
|
GetManagedPrefixListAssociationsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
GetManagedPrefixListAssociationsResult |
withPrefixListAssociations(Collection<PrefixListAssociation> prefixListAssociations)
Information about the associations.
|
GetManagedPrefixListAssociationsResult |
withPrefixListAssociations(PrefixListAssociation... prefixListAssociations)
Information about the associations.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetManagedPrefixListAssociationsResult()
public List<PrefixListAssociation> getPrefixListAssociations()
Information about the associations.
public void setPrefixListAssociations(Collection<PrefixListAssociation> prefixListAssociations)
Information about the associations.
prefixListAssociations
- Information about the associations.public GetManagedPrefixListAssociationsResult withPrefixListAssociations(PrefixListAssociation... prefixListAssociations)
Information about the associations.
NOTE: This method appends the values to the existing list (if any). Use
setPrefixListAssociations(java.util.Collection)
or
withPrefixListAssociations(java.util.Collection)
if you want to override the existing values.
prefixListAssociations
- Information about the associations.public GetManagedPrefixListAssociationsResult withPrefixListAssociations(Collection<PrefixListAssociation> prefixListAssociations)
Information about the associations.
prefixListAssociations
- Information about the associations.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.
null
when there are no
more results to return.public GetManagedPrefixListAssociationsResult 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 GetManagedPrefixListAssociationsResult clone()