Package com.amazonaws.services.ec2.model
Class DescribeCustomerGatewaysResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeCustomerGatewaysResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeCustomerGatewaysResult extends Object implements Serializable, Cloneable
Contains the output of DescribeCustomerGateways.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeCustomerGatewaysResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeCustomerGatewaysResult
clone()
boolean
equals(Object obj)
List<CustomerGateway>
getCustomerGateways()
Information about one or more customer gateways.int
hashCode()
void
setCustomerGateways(Collection<CustomerGateway> customerGateways)
Information about one or more customer gateways.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeCustomerGatewaysResult
withCustomerGateways(CustomerGateway... customerGateways)
Information about one or more customer gateways.DescribeCustomerGatewaysResult
withCustomerGateways(Collection<CustomerGateway> customerGateways)
Information about one or more customer gateways.
-
-
-
Method Detail
-
getCustomerGateways
public List<CustomerGateway> getCustomerGateways()
Information about one or more customer gateways.
- Returns:
- Information about one or more customer gateways.
-
setCustomerGateways
public void setCustomerGateways(Collection<CustomerGateway> customerGateways)
Information about one or more customer gateways.
- Parameters:
customerGateways
- Information about one or more customer gateways.
-
withCustomerGateways
public DescribeCustomerGatewaysResult withCustomerGateways(CustomerGateway... customerGateways)
Information about one or more customer gateways.
NOTE: This method appends the values to the existing list (if any). Use
setCustomerGateways(java.util.Collection)
orwithCustomerGateways(java.util.Collection)
if you want to override the existing values.- Parameters:
customerGateways
- Information about one or more customer gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCustomerGateways
public DescribeCustomerGatewaysResult withCustomerGateways(Collection<CustomerGateway> customerGateways)
Information about one or more customer gateways.
- Parameters:
customerGateways
- Information about one or more customer gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeCustomerGatewaysResult clone()
-
-