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

com.vmware.avi.sdk.model.SeMemoryLimitEventDetails Maven / Gradle / Ivy

/*
 * 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 SeMemoryLimitEventDetails is a POJO class extends AviRestResource that used for creating
 * SeMemoryLimitEventDetails.
 *
 * @version 1.0
 * @since 
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SeMemoryLimitEventDetails  {
    @JsonProperty("config_memory_status")
    private String configMemoryStatus;

    @JsonProperty("heap_config_hard_limit")
    private Integer heapConfigHardLimit;

    @JsonProperty("heap_config_soft_limit")
    private Integer heapConfigSoftLimit;

    @JsonProperty("heap_config_usage")
    private Integer heapConfigUsage;

    @JsonProperty("heap_conn_usage")
    private Integer heapConnUsage;

    @JsonProperty("se_ref")
    private String seRef;

    @JsonProperty("shm_config_hard_limit")
    private Integer shmConfigHardLimit;

    @JsonProperty("shm_config_soft_limit")
    private Integer shmConfigSoftLimit;

    @JsonProperty("shm_config_usage")
    private Integer shmConfigUsage;

    @JsonProperty("shm_conn_usage")
    private Integer shmConnUsage;



    /**
     * This is the getter method this will return the attribute value.
     * Current status of config memory.
     * Field introduced in 18.2.2.
     * 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 configMemoryStatus
     */
    public String getConfigMemoryStatus() {
        return configMemoryStatus;
    }

    /**
     * This is the setter method to the attribute.
     * Current status of config memory.
     * Field introduced in 18.2.2.
     * 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 configMemoryStatus set the configMemoryStatus.
     */
    public void setConfigMemoryStatus(String  configMemoryStatus) {
        this.configMemoryStatus = configMemoryStatus;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Heap config memory hard limit.
     * Field introduced in 18.2.2.
     * 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 heapConfigHardLimit
     */
    public Integer getHeapConfigHardLimit() {
        return heapConfigHardLimit;
    }

    /**
     * This is the setter method to the attribute.
     * Heap config memory hard limit.
     * Field introduced in 18.2.2.
     * 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 heapConfigHardLimit set the heapConfigHardLimit.
     */
    public void setHeapConfigHardLimit(Integer  heapConfigHardLimit) {
        this.heapConfigHardLimit = heapConfigHardLimit;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Heap config memory soft limit.
     * Field introduced in 18.2.2.
     * 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 heapConfigSoftLimit
     */
    public Integer getHeapConfigSoftLimit() {
        return heapConfigSoftLimit;
    }

    /**
     * This is the setter method to the attribute.
     * Heap config memory soft limit.
     * Field introduced in 18.2.2.
     * 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 heapConfigSoftLimit set the heapConfigSoftLimit.
     */
    public void setHeapConfigSoftLimit(Integer  heapConfigSoftLimit) {
        this.heapConfigSoftLimit = heapConfigSoftLimit;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Config memory usage in heap memory.
     * Field introduced in 18.2.2.
     * 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 heapConfigUsage
     */
    public Integer getHeapConfigUsage() {
        return heapConfigUsage;
    }

    /**
     * This is the setter method to the attribute.
     * Config memory usage in heap memory.
     * Field introduced in 18.2.2.
     * 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 heapConfigUsage set the heapConfigUsage.
     */
    public void setHeapConfigUsage(Integer  heapConfigUsage) {
        this.heapConfigUsage = heapConfigUsage;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Connection memory usage in heap memory.
     * Field introduced in 18.2.2.
     * 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 heapConnUsage
     */
    public Integer getHeapConnUsage() {
        return heapConnUsage;
    }

    /**
     * This is the setter method to the attribute.
     * Connection memory usage in heap memory.
     * Field introduced in 18.2.2.
     * 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 heapConnUsage set the heapConnUsage.
     */
    public void setHeapConnUsage(Integer  heapConnUsage) {
        this.heapConnUsage = heapConnUsage;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Uuid of the se responsible for this event.
     * It is a reference to an object of type serviceengine.
     * Field introduced in 18.2.2.
     * 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 seRef
     */
    public String getSeRef() {
        return seRef;
    }

    /**
     * This is the setter method to the attribute.
     * Uuid of the se responsible for this event.
     * It is a reference to an object of type serviceengine.
     * Field introduced in 18.2.2.
     * 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 seRef set the seRef.
     */
    public void setSeRef(String  seRef) {
        this.seRef = seRef;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Current shm config memory hard limit.
     * Field introduced in 18.2.2.
     * 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 shmConfigHardLimit
     */
    public Integer getShmConfigHardLimit() {
        return shmConfigHardLimit;
    }

    /**
     * This is the setter method to the attribute.
     * Current shm config memory hard limit.
     * Field introduced in 18.2.2.
     * 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 shmConfigHardLimit set the shmConfigHardLimit.
     */
    public void setShmConfigHardLimit(Integer  shmConfigHardLimit) {
        this.shmConfigHardLimit = shmConfigHardLimit;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Current shm config memory soft limit.
     * Field introduced in 18.2.2.
     * 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 shmConfigSoftLimit
     */
    public Integer getShmConfigSoftLimit() {
        return shmConfigSoftLimit;
    }

    /**
     * This is the setter method to the attribute.
     * Current shm config memory soft limit.
     * Field introduced in 18.2.2.
     * 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 shmConfigSoftLimit set the shmConfigSoftLimit.
     */
    public void setShmConfigSoftLimit(Integer  shmConfigSoftLimit) {
        this.shmConfigSoftLimit = shmConfigSoftLimit;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Config memory usage in shared memory.
     * Field introduced in 18.2.2.
     * 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 shmConfigUsage
     */
    public Integer getShmConfigUsage() {
        return shmConfigUsage;
    }

    /**
     * This is the setter method to the attribute.
     * Config memory usage in shared memory.
     * Field introduced in 18.2.2.
     * 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 shmConfigUsage set the shmConfigUsage.
     */
    public void setShmConfigUsage(Integer  shmConfigUsage) {
        this.shmConfigUsage = shmConfigUsage;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Connection memory usage in shared memory.
     * Field introduced in 18.2.2.
     * 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 shmConnUsage
     */
    public Integer getShmConnUsage() {
        return shmConnUsage;
    }

    /**
     * This is the setter method to the attribute.
     * Connection memory usage in shared memory.
     * Field introduced in 18.2.2.
     * 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 shmConnUsage set the shmConnUsage.
     */
    public void setShmConnUsage(Integer  shmConnUsage) {
        this.shmConnUsage = shmConnUsage;
    }


    @Override
    public boolean equals(java.lang.Object o) {
      if (this == o) {
          return true;
      }
      if (o == null || getClass() != o.getClass()) {
          return false;
      }
      SeMemoryLimitEventDetails objSeMemoryLimitEventDetails = (SeMemoryLimitEventDetails) o;
      return   Objects.equals(this.seRef, objSeMemoryLimitEventDetails.seRef)&&
  Objects.equals(this.configMemoryStatus, objSeMemoryLimitEventDetails.configMemoryStatus)&&
  Objects.equals(this.shmConnUsage, objSeMemoryLimitEventDetails.shmConnUsage)&&
  Objects.equals(this.shmConfigUsage, objSeMemoryLimitEventDetails.shmConfigUsage)&&
  Objects.equals(this.shmConfigSoftLimit, objSeMemoryLimitEventDetails.shmConfigSoftLimit)&&
  Objects.equals(this.shmConfigHardLimit, objSeMemoryLimitEventDetails.shmConfigHardLimit)&&
  Objects.equals(this.heapConnUsage, objSeMemoryLimitEventDetails.heapConnUsage)&&
  Objects.equals(this.heapConfigUsage, objSeMemoryLimitEventDetails.heapConfigUsage)&&
  Objects.equals(this.heapConfigSoftLimit, objSeMemoryLimitEventDetails.heapConfigSoftLimit)&&
  Objects.equals(this.heapConfigHardLimit, objSeMemoryLimitEventDetails.heapConfigHardLimit);
    }

    @Override
    public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append("class SeMemoryLimitEventDetails {\n");
                  sb.append("    configMemoryStatus: ").append(toIndentedString(configMemoryStatus)).append("\n");
                        sb.append("    heapConfigHardLimit: ").append(toIndentedString(heapConfigHardLimit)).append("\n");
                        sb.append("    heapConfigSoftLimit: ").append(toIndentedString(heapConfigSoftLimit)).append("\n");
                        sb.append("    heapConfigUsage: ").append(toIndentedString(heapConfigUsage)).append("\n");
                        sb.append("    heapConnUsage: ").append(toIndentedString(heapConnUsage)).append("\n");
                        sb.append("    seRef: ").append(toIndentedString(seRef)).append("\n");
                        sb.append("    shmConfigHardLimit: ").append(toIndentedString(shmConfigHardLimit)).append("\n");
                        sb.append("    shmConfigSoftLimit: ").append(toIndentedString(shmConfigSoftLimit)).append("\n");
                        sb.append("    shmConfigUsage: ").append(toIndentedString(shmConfigUsage)).append("\n");
                        sb.append("    shmConnUsage: ").append(toIndentedString(shmConnUsage)).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