com.volcengine.waf.model.CloudAccessConfigForUpdateDomainInput Maven / Gradle / Ivy
/*
* waf
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: common-version
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.volcengine.waf.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* CloudAccessConfigForUpdateDomainInput
*/
public class CloudAccessConfigForUpdateDomainInput {
@SerializedName("AccessProtocol")
private String accessProtocol = null;
@SerializedName("DefenceMode")
private Integer defenceMode = null;
@SerializedName("InstanceID")
private String instanceID = null;
@SerializedName("InstanceName")
private String instanceName = null;
@SerializedName("ListenerID")
private String listenerID = null;
@SerializedName("LostAssociationFromALB")
private Integer lostAssociationFromALB = null;
@SerializedName("Port")
private String port = null;
@SerializedName("Protocol")
private String protocol = null;
public CloudAccessConfigForUpdateDomainInput accessProtocol(String accessProtocol) {
this.accessProtocol = accessProtocol;
return this;
}
/**
* Get accessProtocol
* @return accessProtocol
**/
@Schema(description = "")
public String getAccessProtocol() {
return accessProtocol;
}
public void setAccessProtocol(String accessProtocol) {
this.accessProtocol = accessProtocol;
}
public CloudAccessConfigForUpdateDomainInput defenceMode(Integer defenceMode) {
this.defenceMode = defenceMode;
return this;
}
/**
* Get defenceMode
* @return defenceMode
**/
@Schema(description = "")
public Integer getDefenceMode() {
return defenceMode;
}
public void setDefenceMode(Integer defenceMode) {
this.defenceMode = defenceMode;
}
public CloudAccessConfigForUpdateDomainInput instanceID(String instanceID) {
this.instanceID = instanceID;
return this;
}
/**
* Get instanceID
* @return instanceID
**/
@Schema(description = "")
public String getInstanceID() {
return instanceID;
}
public void setInstanceID(String instanceID) {
this.instanceID = instanceID;
}
public CloudAccessConfigForUpdateDomainInput instanceName(String instanceName) {
this.instanceName = instanceName;
return this;
}
/**
* Get instanceName
* @return instanceName
**/
@Schema(description = "")
public String getInstanceName() {
return instanceName;
}
public void setInstanceName(String instanceName) {
this.instanceName = instanceName;
}
public CloudAccessConfigForUpdateDomainInput listenerID(String listenerID) {
this.listenerID = listenerID;
return this;
}
/**
* Get listenerID
* @return listenerID
**/
@Schema(description = "")
public String getListenerID() {
return listenerID;
}
public void setListenerID(String listenerID) {
this.listenerID = listenerID;
}
public CloudAccessConfigForUpdateDomainInput lostAssociationFromALB(Integer lostAssociationFromALB) {
this.lostAssociationFromALB = lostAssociationFromALB;
return this;
}
/**
* Get lostAssociationFromALB
* @return lostAssociationFromALB
**/
@Schema(description = "")
public Integer getLostAssociationFromALB() {
return lostAssociationFromALB;
}
public void setLostAssociationFromALB(Integer lostAssociationFromALB) {
this.lostAssociationFromALB = lostAssociationFromALB;
}
public CloudAccessConfigForUpdateDomainInput port(String port) {
this.port = port;
return this;
}
/**
* Get port
* @return port
**/
@Schema(description = "")
public String getPort() {
return port;
}
public void setPort(String port) {
this.port = port;
}
public CloudAccessConfigForUpdateDomainInput protocol(String protocol) {
this.protocol = protocol;
return this;
}
/**
* Get protocol
* @return protocol
**/
@Schema(description = "")
public String getProtocol() {
return protocol;
}
public void setProtocol(String protocol) {
this.protocol = protocol;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CloudAccessConfigForUpdateDomainInput cloudAccessConfigForUpdateDomainInput = (CloudAccessConfigForUpdateDomainInput) o;
return Objects.equals(this.accessProtocol, cloudAccessConfigForUpdateDomainInput.accessProtocol) &&
Objects.equals(this.defenceMode, cloudAccessConfigForUpdateDomainInput.defenceMode) &&
Objects.equals(this.instanceID, cloudAccessConfigForUpdateDomainInput.instanceID) &&
Objects.equals(this.instanceName, cloudAccessConfigForUpdateDomainInput.instanceName) &&
Objects.equals(this.listenerID, cloudAccessConfigForUpdateDomainInput.listenerID) &&
Objects.equals(this.lostAssociationFromALB, cloudAccessConfigForUpdateDomainInput.lostAssociationFromALB) &&
Objects.equals(this.port, cloudAccessConfigForUpdateDomainInput.port) &&
Objects.equals(this.protocol, cloudAccessConfigForUpdateDomainInput.protocol);
}
@Override
public int hashCode() {
return Objects.hash(accessProtocol, defenceMode, instanceID, instanceName, listenerID, lostAssociationFromALB, port, protocol);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CloudAccessConfigForUpdateDomainInput {\n");
sb.append(" accessProtocol: ").append(toIndentedString(accessProtocol)).append("\n");
sb.append(" defenceMode: ").append(toIndentedString(defenceMode)).append("\n");
sb.append(" instanceID: ").append(toIndentedString(instanceID)).append("\n");
sb.append(" instanceName: ").append(toIndentedString(instanceName)).append("\n");
sb.append(" listenerID: ").append(toIndentedString(listenerID)).append("\n");
sb.append(" lostAssociationFromALB: ").append(toIndentedString(lostAssociationFromALB)).append("\n");
sb.append(" port: ").append(toIndentedString(port)).append("\n");
sb.append(" protocol: ").append(toIndentedString(protocol)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy