@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TerminateClientVpnConnectionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<TerminateClientVpnConnectionsRequest>
NOOP
Constructor and Description |
---|
TerminateClientVpnConnectionsRequest() |
Modifier and Type | Method and Description |
---|---|
TerminateClientVpnConnectionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientVpnEndpointId()
The ID of the Client VPN endpoint to which the client is connected.
|
String |
getConnectionId()
The ID of the client connection to be terminated.
|
Request<TerminateClientVpnConnectionsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getUsername()
The name of the user who initiated the connection.
|
int |
hashCode() |
void |
setClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which the client is connected.
|
void |
setConnectionId(String connectionId)
The ID of the client connection to be terminated.
|
void |
setUsername(String username)
The name of the user who initiated the connection.
|
String |
toString()
Returns a string representation of this object.
|
TerminateClientVpnConnectionsRequest |
withClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which the client is connected.
|
TerminateClientVpnConnectionsRequest |
withConnectionId(String connectionId)
The ID of the client connection to be terminated.
|
TerminateClientVpnConnectionsRequest |
withUsername(String username)
The name of the user who initiated the connection.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public TerminateClientVpnConnectionsRequest()
public void setClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which the client is connected.
clientVpnEndpointId
- The ID of the Client VPN endpoint to which the client is connected.public String getClientVpnEndpointId()
The ID of the Client VPN endpoint to which the client is connected.
public TerminateClientVpnConnectionsRequest withClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which the client is connected.
clientVpnEndpointId
- The ID of the Client VPN endpoint to which the client is connected.public void setConnectionId(String connectionId)
The ID of the client connection to be terminated.
connectionId
- The ID of the client connection to be terminated.public String getConnectionId()
The ID of the client connection to be terminated.
public TerminateClientVpnConnectionsRequest withConnectionId(String connectionId)
The ID of the client connection to be terminated.
connectionId
- The ID of the client connection to be terminated.public void setUsername(String username)
The name of the user who initiated the connection. Use this option to terminate all active connections for the specified user. This option can only be used if the user has established up to five connections.
username
- The name of the user who initiated the connection. Use this option to terminate all active connections for
the specified user. This option can only be used if the user has established up to five connections.public String getUsername()
The name of the user who initiated the connection. Use this option to terminate all active connections for the specified user. This option can only be used if the user has established up to five connections.
public TerminateClientVpnConnectionsRequest withUsername(String username)
The name of the user who initiated the connection. Use this option to terminate all active connections for the specified user. This option can only be used if the user has established up to five connections.
username
- The name of the user who initiated the connection. Use this option to terminate all active connections for
the specified user. This option can only be used if the user has established up to five connections.public Request<TerminateClientVpnConnectionsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<TerminateClientVpnConnectionsRequest>
public String toString()
toString
in class Object
Object.toString()
public TerminateClientVpnConnectionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()