@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeClientVpnConnectionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeClientVpnConnectionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeClientVpnConnectionsResult |
clone() |
boolean |
equals(Object obj) |
List<ClientVpnConnection> |
getConnections()
Information about the active and terminated client connections.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setConnections(Collection<ClientVpnConnection> connections)
Information about the active and terminated client connections.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeClientVpnConnectionsResult |
withConnections(ClientVpnConnection... connections)
Information about the active and terminated client connections.
|
DescribeClientVpnConnectionsResult |
withConnections(Collection<ClientVpnConnection> connections)
Information about the active and terminated client connections.
|
DescribeClientVpnConnectionsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ClientVpnConnection> getConnections()
Information about the active and terminated client connections.
public void setConnections(Collection<ClientVpnConnection> connections)
Information about the active and terminated client connections.
connections
- Information about the active and terminated client connections.public DescribeClientVpnConnectionsResult withConnections(ClientVpnConnection... connections)
Information about the active and terminated client connections.
NOTE: This method appends the values to the existing list (if any). Use
setConnections(java.util.Collection)
or withConnections(java.util.Collection)
if you want to
override the existing values.
connections
- Information about the active and terminated client connections.public DescribeClientVpnConnectionsResult withConnections(Collection<ClientVpnConnection> connections)
Information about the active and terminated client connections.
connections
- Information about the active and terminated client connections.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeClientVpnConnectionsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeClientVpnConnectionsResult clone()