All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ksc.network.vpc.model.subnet.AssociateNetworkAclRequest Maven / Gradle / Ivy

There is a newer version: 2.1.8
Show newest version
package com.ksc.network.vpc.model.subnet;

import com.ksc.KscWebServiceRequest;
import com.ksc.Request;
import com.ksc.model.DryRunSupportedRequest;
import com.ksc.network.vpc.transform.subnet.AssociateNetworkAclRequestMarshaller;

import java.io.Serializable;

/**
 * 

* Contains the parameters for AssociateNetworkAcl. *

*/ public class AssociateNetworkAclRequest extends KscWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest { /** * NetworkAcl的ID */ private String NetworkAclId; /** * 子网的ID */ private String SubnetId; public String getNetworkAclId() { return NetworkAclId; } public void setNetworkAclId(String networkAclId) { NetworkAclId = networkAclId; } public String getSubnetId() { return SubnetId; } public void setSubnetId(String subnetId) { SubnetId = subnetId; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; AssociateNetworkAclRequest that = (AssociateNetworkAclRequest) o; if (!NetworkAclId.equals(that.NetworkAclId)) return false; return SubnetId.equals(that.SubnetId); } @Override public int hashCode() { int result = NetworkAclId.hashCode(); result = 31 * result + SubnetId.hashCode(); return result; } @Override public AssociateNetworkAclRequest clone() { return (AssociateNetworkAclRequest) super.clone(); } @Override public Request getDryRunRequest() { Request request = new AssociateNetworkAclRequestMarshaller() .marshall(this); request.addParameter("DryRun", Boolean.toString(true)); return request; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy