public class ReplaceNetworkAclAssociationRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<ReplaceNetworkAclAssociationRequest>
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, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.
Constructor and Description |
---|
ReplaceNetworkAclAssociationRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAssociationId()
The ID representing the current association between the original
network ACL and the subnet.
|
Request<ReplaceNetworkAclAssociationRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getNetworkAclId()
The ID of the new ACL to associate with the subnet.
|
int |
hashCode() |
void |
setAssociationId(String associationId)
The ID representing the current association between the original
network ACL and the subnet.
|
void |
setNetworkAclId(String networkAclId)
The ID of the new ACL to associate with the subnet.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplaceNetworkAclAssociationRequest |
withAssociationId(String associationId)
The ID representing the current association between the original
network ACL and the subnet.
|
ReplaceNetworkAclAssociationRequest |
withNetworkAclId(String networkAclId)
The ID of the new ACL to associate with the subnet.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getAssociationId()
public void setAssociationId(String associationId)
associationId
- The ID representing the current association between the original
network ACL and the subnet.public ReplaceNetworkAclAssociationRequest withAssociationId(String associationId)
Returns a reference to this object so that method calls can be chained together.
associationId
- The ID representing the current association between the original
network ACL and the subnet.public String getNetworkAclId()
public void setNetworkAclId(String networkAclId)
networkAclId
- The ID of the new ACL to associate with the subnet.public ReplaceNetworkAclAssociationRequest withNetworkAclId(String networkAclId)
Returns a reference to this object so that method calls can be chained together.
networkAclId
- The ID of the new ACL to associate with the subnet.public Request<ReplaceNetworkAclAssociationRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ReplaceNetworkAclAssociationRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.