com.amazonaws.services.ec2.model
Class ReplaceNetworkAclAssociationRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.ReplaceNetworkAclAssociationRequest
All Implemented Interfaces:
DryRunSupportedRequest<ReplaceNetworkAclAssociationRequest>, java.io.Serializable

public class ReplaceNetworkAclAssociationRequest
extends AmazonWebServiceRequest
implements java.io.Serializable, DryRunSupportedRequest<ReplaceNetworkAclAssociationRequest>

Container for the parameters to the ReplaceNetworkAclAssociation operation.

Changes which network ACL a subnet is associated with. By default when you create a subnet, it's automatically associated with the default network ACL. For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide .

See Also:
AmazonEC2.replaceNetworkAclAssociation(ReplaceNetworkAclAssociationRequest), Serialized Form

Constructor Summary
ReplaceNetworkAclAssociationRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAssociationId()
          The ID of the current association between the original network ACL and the subnet.
 Request<ReplaceNetworkAclAssociationRequest> getDryRunRequest()
          This method is intended for internal use only.
 java.lang.String getNetworkAclId()
          The ID of the new ACL to associate with the subnet.
 int hashCode()
           
 void setAssociationId(java.lang.String associationId)
          The ID of the current association between the original network ACL and the subnet.
 void setNetworkAclId(java.lang.String networkAclId)
          The ID of the new ACL to associate with the subnet.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ReplaceNetworkAclAssociationRequest withAssociationId(java.lang.String associationId)
          The ID of the current association between the original network ACL and the subnet.
 ReplaceNetworkAclAssociationRequest withNetworkAclId(java.lang.String networkAclId)
          The ID of the new ACL to associate with the subnet.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplaceNetworkAclAssociationRequest

public ReplaceNetworkAclAssociationRequest()
Method Detail

getAssociationId

public java.lang.String getAssociationId()
The ID of the current association between the original network ACL and the subnet.

Returns:
The ID of the current association between the original network ACL and the subnet.

setAssociationId

public void setAssociationId(java.lang.String associationId)
The ID of the current association between the original network ACL and the subnet.

Parameters:
associationId - The ID of the current association between the original network ACL and the subnet.

withAssociationId

public ReplaceNetworkAclAssociationRequest withAssociationId(java.lang.String associationId)
The ID of the current association between the original network ACL and the subnet.

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

Parameters:
associationId - The ID of the current association between the original network ACL and the subnet.
Returns:
A reference to this updated object so that method calls can be chained together.

getNetworkAclId

public java.lang.String getNetworkAclId()
The ID of the new ACL to associate with the subnet.

Returns:
The ID of the new ACL to associate with the subnet.

setNetworkAclId

public void setNetworkAclId(java.lang.String networkAclId)
The ID of the new ACL to associate with the subnet.

Parameters:
networkAclId - The ID of the new ACL to associate with the subnet.

withNetworkAclId

public ReplaceNetworkAclAssociationRequest withNetworkAclId(java.lang.String networkAclId)
The ID of the new ACL to associate with the subnet.

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

Parameters:
networkAclId - The ID of the new ACL to associate with the subnet.
Returns:
A reference to this updated object so that method calls can be chained together.

getDryRunRequest

public Request<ReplaceNetworkAclAssociationRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.

Specified by:
getDryRunRequest in interface DryRunSupportedRequest<ReplaceNetworkAclAssociationRequest>

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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