
com.vmware.avi.sdk.model.GslbSiteRuntime Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of avisdk Show documentation
Show all versions of avisdk Show documentation
Avi SDK is a java API which creates a session with controller and perform CRUD operations.
/*
* Copyright 2021 VMware, Inc.
* SPDX-License-Identifier: Apache License 2.0
*/
package com.vmware.avi.sdk.model;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* The GslbSiteRuntime is a POJO class extends AviRestResource that used for creating
* GslbSiteRuntime.
*
* @version 1.0
* @since
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class GslbSiteRuntime {
@JsonProperty("clear_on_max_retries")
private Integer clearOnMaxRetries;
@JsonProperty("glb_uuid")
private String glbUuid;
@JsonProperty("health_monitor_info")
private String healthMonitorInfo;
@JsonProperty("replication_stats")
private GslbReplicationStats replicationStats;
@JsonProperty("rxed_site_hs")
private GslbSiteHealthStatus rxedSiteHs;
@JsonProperty("send_interval")
private Integer sendInterval;
@JsonProperty("site_cfg")
private GslbSiteRuntimeCfg siteCfg;
@JsonProperty("site_info")
private GslbSiteRuntimeInfo siteInfo;
@JsonProperty("site_stats")
private GslbSiteRuntimeStats siteStats;
@JsonProperty("tenant_name")
private String tenantName;
@JsonProperty("view_id")
private Integer viewId;
/**
* This is the getter method this will return the attribute value.
* This field shadows glb_cfg.clear_on_max_retries.
* Field introduced in 17.2.5.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return clearOnMaxRetries
*/
public Integer getClearOnMaxRetries() {
return clearOnMaxRetries;
}
/**
* This is the setter method to the attribute.
* This field shadows glb_cfg.clear_on_max_retries.
* Field introduced in 17.2.5.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param clearOnMaxRetries set the clearOnMaxRetries.
*/
public void setClearOnMaxRetries(Integer clearOnMaxRetries) {
this.clearOnMaxRetries = clearOnMaxRetries;
}
/**
* This is the getter method this will return the attribute value.
* This field tracks the glb-uuid.
* Field introduced in 17.2.5.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return glbUuid
*/
public String getGlbUuid() {
return glbUuid;
}
/**
* This is the setter method to the attribute.
* This field tracks the glb-uuid.
* Field introduced in 17.2.5.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param glbUuid set the glbUuid.
*/
public void setGlbUuid(String glbUuid) {
this.glbUuid = glbUuid;
}
/**
* This is the getter method this will return the attribute value.
* This field will provide information on origin(site name) of the health monitoring information.
* Field introduced in 22.1.5.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return healthMonitorInfo
*/
public String getHealthMonitorInfo() {
return healthMonitorInfo;
}
/**
* This is the setter method to the attribute.
* This field will provide information on origin(site name) of the health monitoring information.
* Field introduced in 22.1.5.
* Allowed in enterprise edition with any value, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param healthMonitorInfo set the healthMonitorInfo.
*/
public void setHealthMonitorInfo(String healthMonitorInfo) {
this.healthMonitorInfo = healthMonitorInfo;
}
/**
* This is the getter method this will return the attribute value.
* Carries replication stats for a given site.
* Field introduced in 20.1.1.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return replicationStats
*/
public GslbReplicationStats getReplicationStats() {
return replicationStats;
}
/**
* This is the setter method to the attribute.
* Carries replication stats for a given site.
* Field introduced in 20.1.1.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param replicationStats set the replicationStats.
*/
public void setReplicationStats(GslbReplicationStats replicationStats) {
this.replicationStats = replicationStats;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return rxedSiteHs
*/
public GslbSiteHealthStatus getRxedSiteHs() {
return rxedSiteHs;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param rxedSiteHs set the rxedSiteHs.
*/
public void setRxedSiteHs(GslbSiteHealthStatus rxedSiteHs) {
this.rxedSiteHs = rxedSiteHs;
}
/**
* This is the getter method this will return the attribute value.
* Frequency with which group members communicate.
* This field shadows glb_cfg.send_interval.
* Field introduced in 17.2.5.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return sendInterval
*/
public Integer getSendInterval() {
return sendInterval;
}
/**
* This is the setter method to the attribute.
* Frequency with which group members communicate.
* This field shadows glb_cfg.send_interval.
* Field introduced in 17.2.5.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param sendInterval set the sendInterval.
*/
public void setSendInterval(Integer sendInterval) {
this.sendInterval = sendInterval;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return siteCfg
*/
public GslbSiteRuntimeCfg getSiteCfg() {
return siteCfg;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param siteCfg set the siteCfg.
*/
public void setSiteCfg(GslbSiteRuntimeCfg siteCfg) {
this.siteCfg = siteCfg;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return siteInfo
*/
public GslbSiteRuntimeInfo getSiteInfo() {
return siteInfo;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param siteInfo set the siteInfo.
*/
public void setSiteInfo(GslbSiteRuntimeInfo siteInfo) {
this.siteInfo = siteInfo;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return siteStats
*/
public GslbSiteRuntimeStats getSiteStats() {
return siteStats;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param siteStats set the siteStats.
*/
public void setSiteStats(GslbSiteRuntimeStats siteStats) {
this.siteStats = siteStats;
}
/**
* This is the getter method this will return the attribute value.
* Remap the tenant_uuid to its tenant-name so that we can use the tenant_name directly in remote-site ops.
* Field introduced in 17.2.5.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return tenantName
*/
public String getTenantName() {
return tenantName;
}
/**
* This is the setter method to the attribute.
* Remap the tenant_uuid to its tenant-name so that we can use the tenant_name directly in remote-site ops.
* Field introduced in 17.2.5.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param tenantName set the tenantName.
*/
public void setTenantName(String tenantName) {
this.tenantName = tenantName;
}
/**
* This is the getter method this will return the attribute value.
* This field shadows the glb_cfg.view_id.
* Field introduced in 17.2.5.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return viewId
*/
public Integer getViewId() {
return viewId;
}
/**
* This is the setter method to the attribute.
* This field shadows the glb_cfg.view_id.
* Field introduced in 17.2.5.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param viewId set the viewId.
*/
public void setViewId(Integer viewId) {
this.viewId = viewId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GslbSiteRuntime objGslbSiteRuntime = (GslbSiteRuntime) o;
return Objects.equals(this.siteInfo, objGslbSiteRuntime.siteInfo)&&
Objects.equals(this.siteCfg, objGslbSiteRuntime.siteCfg)&&
Objects.equals(this.siteStats, objGslbSiteRuntime.siteStats)&&
Objects.equals(this.rxedSiteHs, objGslbSiteRuntime.rxedSiteHs)&&
Objects.equals(this.replicationStats, objGslbSiteRuntime.replicationStats)&&
Objects.equals(this.healthMonitorInfo, objGslbSiteRuntime.healthMonitorInfo)&&
Objects.equals(this.glbUuid, objGslbSiteRuntime.glbUuid)&&
Objects.equals(this.viewId, objGslbSiteRuntime.viewId)&&
Objects.equals(this.sendInterval, objGslbSiteRuntime.sendInterval)&&
Objects.equals(this.clearOnMaxRetries, objGslbSiteRuntime.clearOnMaxRetries)&&
Objects.equals(this.tenantName, objGslbSiteRuntime.tenantName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GslbSiteRuntime {\n");
sb.append(" clearOnMaxRetries: ").append(toIndentedString(clearOnMaxRetries)).append("\n");
sb.append(" glbUuid: ").append(toIndentedString(glbUuid)).append("\n");
sb.append(" healthMonitorInfo: ").append(toIndentedString(healthMonitorInfo)).append("\n");
sb.append(" replicationStats: ").append(toIndentedString(replicationStats)).append("\n");
sb.append(" rxedSiteHs: ").append(toIndentedString(rxedSiteHs)).append("\n");
sb.append(" sendInterval: ").append(toIndentedString(sendInterval)).append("\n");
sb.append(" siteCfg: ").append(toIndentedString(siteCfg)).append("\n");
sb.append(" siteInfo: ").append(toIndentedString(siteInfo)).append("\n");
sb.append(" siteStats: ").append(toIndentedString(siteStats)).append("\n");
sb.append(" tenantName: ").append(toIndentedString(tenantName)).append("\n");
sb.append(" viewId: ").append(toIndentedString(viewId)).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 - 2025 Weber Informatics LLC | Privacy Policy