Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class CreateNetworkAclRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.CreateNetworkAclRequest

public class CreateNetworkAclRequest
extends AmazonWebServiceRequest

Container for the parameters to the 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.

See Also:
AmazonEC2.createNetworkAcl(CreateNetworkAclRequest)

Constructor Summary
CreateNetworkAclRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateNetworkAclRequest

public CreateNetworkAclRequest()
Method Detail

getVpcId

public String getVpcId()
The ID of the VPC where the network ACL will be created.

Returns:
The ID of the VPC where the network ACL will be created.

setVpcId

public void setVpcId(String vpcId)
The ID of the VPC where the network ACL will be created.

Parameters:
vpcId - The ID of the VPC where the network ACL will be created.

withVpcId

public CreateNetworkAclRequest withVpcId(String vpcId)
The ID of the VPC where the network ACL will be created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcId - The ID of the VPC where the network ACL will be created.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.