@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplySecurityGroupsToClientVpnTargetNetworkRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ApplySecurityGroupsToClientVpnTargetNetworkRequest>
NOOP
Constructor and Description |
---|
ApplySecurityGroupsToClientVpnTargetNetworkRequest() |
Modifier and Type | Method and Description |
---|---|
ApplySecurityGroupsToClientVpnTargetNetworkRequest |
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.
|
Request<ApplySecurityGroupsToClientVpnTargetNetworkRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getSecurityGroupIds()
The IDs of the security groups to apply to the associated target network.
|
String |
getVpcId()
The ID of the VPC in which the associated target network is located.
|
int |
hashCode() |
void |
setClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups to apply to the associated target network.
|
void |
setVpcId(String vpcId)
The ID of the VPC in which the associated target network is located.
|
String |
toString()
Returns a string representation of this object.
|
ApplySecurityGroupsToClientVpnTargetNetworkRequest |
withClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint.
|
ApplySecurityGroupsToClientVpnTargetNetworkRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups to apply to the associated target network.
|
ApplySecurityGroupsToClientVpnTargetNetworkRequest |
withSecurityGroupIds(String... securityGroupIds)
The IDs of the security groups to apply to the associated target network.
|
ApplySecurityGroupsToClientVpnTargetNetworkRequest |
withVpcId(String vpcId)
The ID of the VPC in which the associated target network is located.
|
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 ApplySecurityGroupsToClientVpnTargetNetworkRequest()
public void setClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint.
clientVpnEndpointId
- The ID of the Client VPN endpoint.public String getClientVpnEndpointId()
The ID of the Client VPN endpoint.
public ApplySecurityGroupsToClientVpnTargetNetworkRequest withClientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint.
clientVpnEndpointId
- The ID of the Client VPN endpoint.public void setVpcId(String vpcId)
The ID of the VPC in which the associated target network is located.
vpcId
- The ID of the VPC in which the associated target network is located.public String getVpcId()
The ID of the VPC in which the associated target network is located.
public ApplySecurityGroupsToClientVpnTargetNetworkRequest withVpcId(String vpcId)
The ID of the VPC in which the associated target network is located.
vpcId
- The ID of the VPC in which the associated target network is located.public List<String> getSecurityGroupIds()
The IDs of the security groups to apply to the associated target network. Up to 5 security groups can be applied to an associated target network.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups to apply to the associated target network. Up to 5 security groups can be applied to an associated target network.
securityGroupIds
- The IDs of the security groups to apply to the associated target network. Up to 5 security groups can be
applied to an associated target network.public ApplySecurityGroupsToClientVpnTargetNetworkRequest withSecurityGroupIds(String... securityGroupIds)
The IDs of the security groups to apply to the associated target network. Up to 5 security groups can be applied to an associated target network.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The IDs of the security groups to apply to the associated target network. Up to 5 security groups can be
applied to an associated target network.public ApplySecurityGroupsToClientVpnTargetNetworkRequest withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups to apply to the associated target network. Up to 5 security groups can be applied to an associated target network.
securityGroupIds
- The IDs of the security groups to apply to the associated target network. Up to 5 security groups can be
applied to an associated target network.public Request<ApplySecurityGroupsToClientVpnTargetNetworkRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ApplySecurityGroupsToClientVpnTargetNetworkRequest>
public String toString()
toString
in class Object
Object.toString()
public ApplySecurityGroupsToClientVpnTargetNetworkRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()