public class DescribeInternetGatewaysResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeInternetGateways.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<InternetGateway> |
internetGateways
Information about one or more Internet gateways.
|
Constructor and Description |
---|
DescribeInternetGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInternetGatewaysResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<InternetGateway> |
getInternetGateways()
Information about one or more Internet gateways.
|
int |
hashCode() |
void |
setInternetGateways(java.util.Collection<InternetGateway> internetGateways)
Information about one or more Internet gateways.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeInternetGatewaysResult |
withInternetGateways(java.util.Collection<InternetGateway> internetGateways)
Information about one or more Internet gateways.
|
DescribeInternetGatewaysResult |
withInternetGateways(InternetGateway... internetGateways)
Information about one or more Internet gateways.
|
private SdkInternalList<InternetGateway> internetGateways
Information about one or more Internet gateways.
public java.util.List<InternetGateway> getInternetGateways()
Information about one or more Internet gateways.
public void setInternetGateways(java.util.Collection<InternetGateway> internetGateways)
Information about one or more Internet gateways.
internetGateways
- Information about one or more Internet gateways.public DescribeInternetGatewaysResult withInternetGateways(InternetGateway... internetGateways)
Information about one or more Internet gateways.
NOTE: This method appends the values to the existing list (if
any). Use setInternetGateways(java.util.Collection)
or
withInternetGateways(java.util.Collection)
if you want to
override the existing values.
internetGateways
- Information about one or more Internet gateways.public DescribeInternetGatewaysResult withInternetGateways(java.util.Collection<InternetGateway> internetGateways)
Information about one or more Internet gateways.
internetGateways
- Information about one or more Internet gateways.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeInternetGatewaysResult clone()
clone
in class java.lang.Object