@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCustomerGatewayAssociationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetCustomerGatewayAssociationsResult() |
Modifier and Type | Method and Description |
---|---|
GetCustomerGatewayAssociationsResult |
clone() |
boolean |
equals(Object obj) |
List<CustomerGatewayAssociation> |
getCustomerGatewayAssociations()
The customer gateway associations.
|
String |
getNextToken()
The token for the next page of results.
|
int |
hashCode() |
void |
setCustomerGatewayAssociations(Collection<CustomerGatewayAssociation> customerGatewayAssociations)
The customer gateway associations.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
GetCustomerGatewayAssociationsResult |
withCustomerGatewayAssociations(Collection<CustomerGatewayAssociation> customerGatewayAssociations)
The customer gateway associations.
|
GetCustomerGatewayAssociationsResult |
withCustomerGatewayAssociations(CustomerGatewayAssociation... customerGatewayAssociations)
The customer gateway associations.
|
GetCustomerGatewayAssociationsResult |
withNextToken(String nextToken)
The token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetCustomerGatewayAssociationsResult()
public List<CustomerGatewayAssociation> getCustomerGatewayAssociations()
The customer gateway associations.
public void setCustomerGatewayAssociations(Collection<CustomerGatewayAssociation> customerGatewayAssociations)
The customer gateway associations.
customerGatewayAssociations
- The customer gateway associations.public GetCustomerGatewayAssociationsResult withCustomerGatewayAssociations(CustomerGatewayAssociation... customerGatewayAssociations)
The customer gateway associations.
NOTE: This method appends the values to the existing list (if any). Use
setCustomerGatewayAssociations(java.util.Collection)
or
withCustomerGatewayAssociations(java.util.Collection)
if you want to override the existing values.
customerGatewayAssociations
- The customer gateway associations.public GetCustomerGatewayAssociationsResult withCustomerGatewayAssociations(Collection<CustomerGatewayAssociation> customerGatewayAssociations)
The customer gateway associations.
customerGatewayAssociations
- The customer gateway associations.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public GetCustomerGatewayAssociationsResult withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String toString()
toString
in class Object
Object.toString()
public GetCustomerGatewayAssociationsResult clone()