public class DescribeInternetGatewaysResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribeInternetGateways.
Constructor and Description |
---|
DescribeInternetGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.util.List<InternetGateway> getInternetGateways()
public void setInternetGateways(java.util.Collection<InternetGateway> internetGateways)
internetGateways
- Information about one or more Internet gateways.public DescribeInternetGatewaysResult withInternetGateways(InternetGateway... internetGateways)
Returns a reference to this object so that method calls can be chained together.
internetGateways
- Information about one or more Internet gateways.public DescribeInternetGatewaysResult withInternetGateways(java.util.Collection<InternetGateway> internetGateways)
Returns a reference to this object so that method calls can be chained together.
internetGateways
- Information about one or more Internet gateways.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.