public class ReplaceNetworkAclAssociationRequest extends AmazonWebServiceRequest implements java.io.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, see Network ACLs in the Amazon Virtual Private Cloud User Guide .
Constructor and Description |
---|
ReplaceNetworkAclAssociationRequest() |
Modifier and Type | Method and Description |
---|---|
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 network 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 network 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 network ACL to associate with the subnet.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getAssociationId()
public void setAssociationId(java.lang.String associationId)
associationId
- The ID of the current association between the original network ACL and
the subnet.public ReplaceNetworkAclAssociationRequest withAssociationId(java.lang.String associationId)
Returns a reference to this object so that method calls can be chained together.
associationId
- The ID of the current association between the original network ACL and
the subnet.public java.lang.String getNetworkAclId()
public void setNetworkAclId(java.lang.String networkAclId)
networkAclId
- The ID of the new network ACL to associate with the subnet.public ReplaceNetworkAclAssociationRequest withNetworkAclId(java.lang.String networkAclId)
Returns a reference to this object so that method calls can be chained together.
networkAclId
- The ID of the new network ACL to associate with the subnet.public Request<ReplaceNetworkAclAssociationRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ReplaceNetworkAclAssociationRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.