@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCustomerGatewaysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribeCustomerGateways.
Constructor and Description |
---|
DescribeCustomerGatewaysResult() |
Modifier and Type | Method and 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.
|
DescribeCustomerGatewaysResult |
withCustomerGateways(Collection<CustomerGateway> customerGateways)
Information about one or more customer gateways.
|
DescribeCustomerGatewaysResult |
withCustomerGateways(CustomerGateway... customerGateways)
Information about one or more customer gateways.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CustomerGateway> getCustomerGateways()
Information about one or more customer gateways.
public void setCustomerGateways(Collection<CustomerGateway> customerGateways)
Information about one or more customer gateways.
customerGateways
- Information about one or more customer gateways.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)
or withCustomerGateways(java.util.Collection)
if you
want to override the existing values.
customerGateways
- Information about one or more customer gateways.public DescribeCustomerGatewaysResult withCustomerGateways(Collection<CustomerGateway> customerGateways)
Information about one or more customer gateways.
customerGateways
- Information about one or more customer gateways.public String toString()
toString
in class Object
Object.toString()
public DescribeCustomerGatewaysResult clone()