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