@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTunnelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListTunnelsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListTunnelsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token to used to retrieve the next set of results.
|
List<TunnelSummary> |
getTunnelSummaries()
A short description of the tunnels in an AWS account.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token to used to retrieve the next set of results.
|
void |
setTunnelSummaries(Collection<TunnelSummary> tunnelSummaries)
A short description of the tunnels in an AWS account.
|
String |
toString()
Returns a string representation of this object.
|
ListTunnelsResult |
withNextToken(String nextToken)
A token to used to retrieve the next set of results.
|
ListTunnelsResult |
withTunnelSummaries(Collection<TunnelSummary> tunnelSummaries)
A short description of the tunnels in an AWS account.
|
ListTunnelsResult |
withTunnelSummaries(TunnelSummary... tunnelSummaries)
A short description of the tunnels in an AWS account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<TunnelSummary> getTunnelSummaries()
A short description of the tunnels in an AWS account.
public void setTunnelSummaries(Collection<TunnelSummary> tunnelSummaries)
A short description of the tunnels in an AWS account.
tunnelSummaries - A short description of the tunnels in an AWS account.public ListTunnelsResult withTunnelSummaries(TunnelSummary... tunnelSummaries)
A short description of the tunnels in an AWS account.
NOTE: This method appends the values to the existing list (if any). Use
setTunnelSummaries(java.util.Collection) or withTunnelSummaries(java.util.Collection) if you
want to override the existing values.
tunnelSummaries - A short description of the tunnels in an AWS account.public ListTunnelsResult withTunnelSummaries(Collection<TunnelSummary> tunnelSummaries)
A short description of the tunnels in an AWS account.
tunnelSummaries - A short description of the tunnels in an AWS account.public void setNextToken(String nextToken)
A token to used to retrieve the next set of results.
nextToken - A token to used to retrieve the next set of results.public String getNextToken()
A token to used to retrieve the next set of results.
public ListTunnelsResult withNextToken(String nextToken)
A token to used to retrieve the next set of results.
nextToken - A token to used to retrieve the next set of results.public String toString()
toString in class ObjectObject.toString()public ListTunnelsResult clone()
Copyright © 2020. All rights reserved.