public class CreateNetworkAclRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<CreateNetworkAclRequest>
CreateNetworkAcl operation
.
Creates a new network ACL in a VPC. Network ACLs provide an optional layer of security (on top of security groups) for the instances in your VPC. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
Constructor and Description |
---|
CreateNetworkAclRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Request<CreateNetworkAclRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getVpcId()
The ID of the VPC where the network ACL will be created.
|
int |
hashCode() |
void |
setVpcId(String vpcId)
The ID of the VPC where the network ACL will be created.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateNetworkAclRequest |
withVpcId(String vpcId)
The ID of the VPC where the network ACL will be created.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The ID of the VPC where the network ACL will be created.public CreateNetworkAclRequest withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC where the network ACL will be created.public Request<CreateNetworkAclRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateNetworkAclRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.