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

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

Go to download

Avi SDK is a java API which creates a session with controller and perform CRUD operations.

There is a newer version: 31.1.1.RELEASE
Show newest version
/*
 * 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 RancherConfiguration is a POJO class extends AviRestResource that used for creating
 * RancherConfiguration.
 *
 * @version 1.0
 * @since 
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RancherConfiguration  {
    @JsonProperty("access_key")
    private String accessKey;

    @JsonProperty("app_sync_frequency")
    private Integer appSyncFrequency = 60;

    @JsonProperty("container_port_match_http_service")
    private Boolean containerPortMatchHttpService = true;

    @JsonProperty("coredump_directory")
    private String coredumpDirectory = "/var/lib/systemd/coredump";

    @JsonProperty("disable_auto_backend_service_sync")
    private Boolean disableAutoBackendServiceSync = false;

    @JsonProperty("disable_auto_frontend_service_sync")
    private Boolean disableAutoFrontendServiceSync = false;

    @JsonProperty("disable_auto_se_creation")
    private Boolean disableAutoSeCreation = false;

    @JsonProperty("docker_registry_se")
    private DockerRegistry dockerRegistrySe;

    @JsonProperty("east_west_placement_subnet")
    private IpAddrPrefix eastWestPlacementSubnet;

    @JsonProperty("enable_event_subscription")
    private Boolean enableEventSubscription = true;

    @JsonProperty("feproxy_container_port_as_service")
    private Boolean feproxyContainerPortAsService = false;

    @JsonProperty("feproxy_vips_enable_proxy_arp")
    private Boolean feproxyVipsEnableProxyArp = true;

    @JsonProperty("fleet_endpoint")
    private String fleetEndpoint;

    @JsonProperty("http_container_ports")
    private List httpContainerPorts;

    @JsonProperty("nuage_controller")
    private NuageSDNController nuageController;

    @JsonProperty("rancher_servers")
    private List rancherServers;

    @JsonProperty("se_deployment_method")
    private String seDeploymentMethod = "SE_CREATE_SSH";

    @JsonProperty("se_exclude_attributes")
    private List seExcludeAttributes;

    @JsonProperty("se_include_attributes")
    private List seIncludeAttributes;

    @JsonProperty("se_spawn_rate")
    private Integer seSpawnRate = 25;

    @JsonProperty("se_volume")
    private String seVolume = "/opt/avi";

    @JsonProperty("secret_key")
    private String secretKey;

    @JsonProperty("services_accessible_all_interfaces")
    private Boolean servicesAccessibleAllInterfaces = false;

    @JsonProperty("ssh_user_ref")
    private String sshUserRef;

    @JsonProperty("use_container_ip_port")
    private Boolean useContainerIpPort = false;

    @JsonProperty("use_controller_image")
    private Boolean useControllerImage = false;



    /**
     * This is the getter method this will return the attribute value.
     * Access key.
     * 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 accessKey
     */
    public String getAccessKey() {
        return accessKey;
    }

    /**
     * This is the setter method to the attribute.
     * Access key.
     * 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 accessKey set the accessKey.
     */
    public void setAccessKey(String  accessKey) {
        this.accessKey = accessKey;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Sync frequency in seconds with frameworks.
     * 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 60.
     * @return appSyncFrequency
     */
    public Integer getAppSyncFrequency() {
        return appSyncFrequency;
    }

    /**
     * This is the setter method to the attribute.
     * Sync frequency in seconds with frameworks.
     * 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 60.
     * @param appSyncFrequency set the appSyncFrequency.
     */
    public void setAppSyncFrequency(Integer  appSyncFrequency) {
        this.appSyncFrequency = appSyncFrequency;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Perform container port matching to create a http virtualservice instead of a tcp/udp virtualservice.
     * 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 true.
     * @return containerPortMatchHttpService
     */
    public Boolean getContainerPortMatchHttpService() {
        return containerPortMatchHttpService;
    }

    /**
     * This is the setter method to the attribute.
     * Perform container port matching to create a http virtualservice instead of a tcp/udp virtualservice.
     * 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 true.
     * @param containerPortMatchHttpService set the containerPortMatchHttpService.
     */
    public void setContainerPortMatchHttpService(Boolean  containerPortMatchHttpService) {
        this.containerPortMatchHttpService = containerPortMatchHttpService;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Directory to mount to check for core dumps on service engines.
     * This will be mapped read only to /var/crash on any new service engines.
     * This is a disruptive change.
     * 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 "/var/lib/systemd/coredump".
     * @return coredumpDirectory
     */
    public String getCoredumpDirectory() {
        return coredumpDirectory;
    }

    /**
     * This is the setter method to the attribute.
     * Directory to mount to check for core dumps on service engines.
     * This will be mapped read only to /var/crash on any new service engines.
     * This is a disruptive change.
     * 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 "/var/lib/systemd/coredump".
     * @param coredumpDirectory set the coredumpDirectory.
     */
    public void setCoredumpDirectory(String  coredumpDirectory) {
        this.coredumpDirectory = coredumpDirectory;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Disable auto service sync for back end services.
     * 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 false.
     * @return disableAutoBackendServiceSync
     */
    public Boolean getDisableAutoBackendServiceSync() {
        return disableAutoBackendServiceSync;
    }

    /**
     * This is the setter method to the attribute.
     * Disable auto service sync for back end services.
     * 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 false.
     * @param disableAutoBackendServiceSync set the disableAutoBackendServiceSync.
     */
    public void setDisableAutoBackendServiceSync(Boolean  disableAutoBackendServiceSync) {
        this.disableAutoBackendServiceSync = disableAutoBackendServiceSync;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Disable auto service sync for front end services.
     * 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 false.
     * @return disableAutoFrontendServiceSync
     */
    public Boolean getDisableAutoFrontendServiceSync() {
        return disableAutoFrontendServiceSync;
    }

    /**
     * This is the setter method to the attribute.
     * Disable auto service sync for front end services.
     * 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 false.
     * @param disableAutoFrontendServiceSync set the disableAutoFrontendServiceSync.
     */
    public void setDisableAutoFrontendServiceSync(Boolean  disableAutoFrontendServiceSync) {
        this.disableAutoFrontendServiceSync = disableAutoFrontendServiceSync;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Disable se creation.
     * 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 false.
     * @return disableAutoSeCreation
     */
    public Boolean getDisableAutoSeCreation() {
        return disableAutoSeCreation;
    }

    /**
     * This is the setter method to the attribute.
     * Disable se creation.
     * 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 false.
     * @param disableAutoSeCreation set the disableAutoSeCreation.
     */
    public void setDisableAutoSeCreation(Boolean  disableAutoSeCreation) {
        this.disableAutoSeCreation = disableAutoSeCreation;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Docker registry for serviceengine image.
     * 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 dockerRegistrySe
     */
    public DockerRegistry getDockerRegistrySe() {
        return dockerRegistrySe;
    }

    /**
     * This is the setter method to the attribute.
     * Docker registry for serviceengine image.
     * 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 dockerRegistrySe set the dockerRegistrySe.
     */
    public void setDockerRegistrySe(DockerRegistry dockerRegistrySe) {
        this.dockerRegistrySe = dockerRegistrySe;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Match against this prefix when placing east-west vss on ses.
     * 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 eastWestPlacementSubnet
     */
    public IpAddrPrefix getEastWestPlacementSubnet() {
        return eastWestPlacementSubnet;
    }

    /**
     * This is the setter method to the attribute.
     * Match against this prefix when placing east-west vss on ses.
     * 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 eastWestPlacementSubnet set the eastWestPlacementSubnet.
     */
    public void setEastWestPlacementSubnet(IpAddrPrefix eastWestPlacementSubnet) {
        this.eastWestPlacementSubnet = eastWestPlacementSubnet;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Enable docker event subscription.
     * 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 true.
     * @return enableEventSubscription
     */
    public Boolean getEnableEventSubscription() {
        return enableEventSubscription;
    }

    /**
     * This is the setter method to the attribute.
     * Enable docker event subscription.
     * 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 true.
     * @param enableEventSubscription set the enableEventSubscription.
     */
    public void setEnableEventSubscription(Boolean  enableEventSubscription) {
        this.enableEventSubscription = enableEventSubscription;
    }

    /**
     * This is the getter method this will return the attribute value.
     * For front end proxies, use container port as service port.
     * 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 false.
     * @return feproxyContainerPortAsService
     */
    public Boolean getFeproxyContainerPortAsService() {
        return feproxyContainerPortAsService;
    }

    /**
     * This is the setter method to the attribute.
     * For front end proxies, use container port as service port.
     * 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 false.
     * @param feproxyContainerPortAsService set the feproxyContainerPortAsService.
     */
    public void setFeproxyContainerPortAsService(Boolean  feproxyContainerPortAsService) {
        this.feproxyContainerPortAsService = feproxyContainerPortAsService;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Enable proxy arp from host interface for front end  proxies.
     * 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 true.
     * @return feproxyVipsEnableProxyArp
     */
    public Boolean getFeproxyVipsEnableProxyArp() {
        return feproxyVipsEnableProxyArp;
    }

    /**
     * This is the setter method to the attribute.
     * Enable proxy arp from host interface for front end  proxies.
     * 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 true.
     * @param feproxyVipsEnableProxyArp set the feproxyVipsEnableProxyArp.
     */
    public void setFeproxyVipsEnableProxyArp(Boolean  feproxyVipsEnableProxyArp) {
        this.feproxyVipsEnableProxyArp = feproxyVipsEnableProxyArp;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Optional fleet remote endpoint if fleet is used for se deployment.
     * 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 fleetEndpoint
     */
    public String getFleetEndpoint() {
        return fleetEndpoint;
    }

    /**
     * This is the setter method to the attribute.
     * Optional fleet remote endpoint if fleet is used for se deployment.
     * 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 fleetEndpoint set the fleetEndpoint.
     */
    public void setFleetEndpoint(String  fleetEndpoint) {
        this.fleetEndpoint = fleetEndpoint;
    }
    /**
     * This is the getter method this will return the attribute value.
     * List of container ports that create a http virtualservice instead of a tcp/udp virtualservice.
     * Defaults to 80.
     * 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 httpContainerPorts
     */
    public List getHttpContainerPorts() {
        return httpContainerPorts;
    }

    /**
     * This is the setter method. this will set the httpContainerPorts
     * List of container ports that create a http virtualservice instead of a tcp/udp virtualservice.
     * Defaults to 80.
     * 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 httpContainerPorts
     */
    public void setHttpContainerPorts(List  httpContainerPorts) {
        this.httpContainerPorts = httpContainerPorts;
    }

    /**
     * This is the setter method this will set the httpContainerPorts
     * List of container ports that create a http virtualservice instead of a tcp/udp virtualservice.
     * Defaults to 80.
     * 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 httpContainerPorts
     */
    public RancherConfiguration addHttpContainerPortsItem(Integer httpContainerPortsItem) {
      if (this.httpContainerPorts == null) {
        this.httpContainerPorts = new ArrayList();
      }
      this.httpContainerPorts.add(httpContainerPortsItem);
      return this;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Nuage overlay sdn controller information.
     * 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 nuageController
     */
    public NuageSDNController getNuageController() {
        return nuageController;
    }

    /**
     * This is the setter method to the attribute.
     * Nuage overlay sdn controller information.
     * 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 nuageController set the nuageController.
     */
    public void setNuageController(NuageSDNController nuageController) {
        this.nuageController = nuageController;
    }
    /**
     * This is the getter method this will return the attribute value.
     * List of rancher servers; in case of a load balanced rancher multi cluster, use virtual ip of the cluster.
     * 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 rancherServers
     */
    public List getRancherServers() {
        return rancherServers;
    }

    /**
     * This is the setter method. this will set the rancherServers
     * List of rancher servers; in case of a load balanced rancher multi cluster, use virtual ip of the cluster.
     * 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 rancherServers
     */
    public void setRancherServers(List  rancherServers) {
        this.rancherServers = rancherServers;
    }

    /**
     * This is the setter method this will set the rancherServers
     * List of rancher servers; in case of a load balanced rancher multi cluster, use virtual ip of the cluster.
     * 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 rancherServers
     */
    public RancherConfiguration addRancherServersItem(String rancherServersItem) {
      if (this.rancherServers == null) {
        this.rancherServers = new ArrayList();
      }
      this.rancherServers.add(rancherServersItem);
      return this;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Use fleet/ssh for se deployment.
     * Enum options - SE_CREATE_FLEET, SE_CREATE_SSH, SE_CREATE_POD.
     * 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 "SE_CREATE_SSH".
     * @return seDeploymentMethod
     */
    public String getSeDeploymentMethod() {
        return seDeploymentMethod;
    }

    /**
     * This is the setter method to the attribute.
     * Use fleet/ssh for se deployment.
     * Enum options - SE_CREATE_FLEET, SE_CREATE_SSH, SE_CREATE_POD.
     * 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 "SE_CREATE_SSH".
     * @param seDeploymentMethod set the seDeploymentMethod.
     */
    public void setSeDeploymentMethod(String  seDeploymentMethod) {
        this.seDeploymentMethod = seDeploymentMethod;
    }
    /**
     * This is the getter method this will return the attribute value.
     * Exclude hosts with attributes for se creation.
     * 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 seExcludeAttributes
     */
    public List getSeExcludeAttributes() {
        return seExcludeAttributes;
    }

    /**
     * This is the setter method. this will set the seExcludeAttributes
     * Exclude hosts with attributes for se creation.
     * 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 seExcludeAttributes
     */
    public void setSeExcludeAttributes(List  seExcludeAttributes) {
        this.seExcludeAttributes = seExcludeAttributes;
    }

    /**
     * This is the setter method this will set the seExcludeAttributes
     * Exclude hosts with attributes for se creation.
     * 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 seExcludeAttributes
     */
    public RancherConfiguration addSeExcludeAttributesItem(MesosAttribute seExcludeAttributesItem) {
      if (this.seExcludeAttributes == null) {
        this.seExcludeAttributes = new ArrayList();
      }
      this.seExcludeAttributes.add(seExcludeAttributesItem);
      return this;
    }
    /**
     * This is the getter method this will return the attribute value.
     * Create ses just on hosts with include attributes.
     * 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 seIncludeAttributes
     */
    public List getSeIncludeAttributes() {
        return seIncludeAttributes;
    }

    /**
     * This is the setter method. this will set the seIncludeAttributes
     * Create ses just on hosts with include attributes.
     * 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 seIncludeAttributes
     */
    public void setSeIncludeAttributes(List  seIncludeAttributes) {
        this.seIncludeAttributes = seIncludeAttributes;
    }

    /**
     * This is the setter method this will set the seIncludeAttributes
     * Create ses just on hosts with include attributes.
     * 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 seIncludeAttributes
     */
    public RancherConfiguration addSeIncludeAttributesItem(MesosAttribute seIncludeAttributesItem) {
      if (this.seIncludeAttributes == null) {
        this.seIncludeAttributes = new ArrayList();
      }
      this.seIncludeAttributes.add(seIncludeAttributesItem);
      return this;
    }

    /**
     * This is the getter method this will return the attribute value.
     * New se spawn rate per minute.
     * 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 25.
     * @return seSpawnRate
     */
    public Integer getSeSpawnRate() {
        return seSpawnRate;
    }

    /**
     * This is the setter method to the attribute.
     * New se spawn rate per minute.
     * 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 25.
     * @param seSpawnRate set the seSpawnRate.
     */
    public void setSeSpawnRate(Integer  seSpawnRate) {
        this.seSpawnRate = seSpawnRate;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Host volume to be used as a disk for avi se, this is a disruptive change.
     * 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 "/opt/avi".
     * @return seVolume
     */
    public String getSeVolume() {
        return seVolume;
    }

    /**
     * This is the setter method to the attribute.
     * Host volume to be used as a disk for avi se, this is a disruptive change.
     * 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 "/opt/avi".
     * @param seVolume set the seVolume.
     */
    public void setSeVolume(String  seVolume) {
        this.seVolume = seVolume;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Secret key.
     * 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 secretKey
     */
    public String getSecretKey() {
        return secretKey;
    }

    /**
     * This is the setter method to the attribute.
     * Secret key.
     * 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 secretKey set the secretKey.
     */
    public void setSecretKey(String  secretKey) {
        this.secretKey = secretKey;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Make service ports accessible on all host interfaces in addition to east-west vip and/or bridge ip.
     * Usually enabled aws clusters to export east-west services on host interface.
     * 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 false.
     * @return servicesAccessibleAllInterfaces
     */
    public Boolean getServicesAccessibleAllInterfaces() {
        return servicesAccessibleAllInterfaces;
    }

    /**
     * This is the setter method to the attribute.
     * Make service ports accessible on all host interfaces in addition to east-west vip and/or bridge ip.
     * Usually enabled aws clusters to export east-west services on host interface.
     * 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 false.
     * @param servicesAccessibleAllInterfaces set the servicesAccessibleAllInterfaces.
     */
    public void setServicesAccessibleAllInterfaces(Boolean  servicesAccessibleAllInterfaces) {
        this.servicesAccessibleAllInterfaces = servicesAccessibleAllInterfaces;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Cloud connector user uuid for ssh to hosts.
     * It is a reference to an object of type cloudconnectoruser.
     * Field introduced in 17.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 sshUserRef
     */
    public String getSshUserRef() {
        return sshUserRef;
    }

    /**
     * This is the setter method to the attribute.
     * Cloud connector user uuid for ssh to hosts.
     * It is a reference to an object of type cloudconnectoruser.
     * Field introduced in 17.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 sshUserRef set the sshUserRef.
     */
    public void setSshUserRef(String  sshUserRef) {
        this.sshUserRef = sshUserRef;
    }

    /**
     * This is the getter method this will return the attribute value.
     * Use container ip address port for pool instead of host ip address hostport.
     * This mode is applicable if the container ip is reachable (not a private nated ip) from other hosts in a routed environment for containers.
     * 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 false.
     * @return useContainerIpPort
     */
    public Boolean getUseContainerIpPort() {
        return useContainerIpPort;
    }

    /**
     * This is the setter method to the attribute.
     * Use container ip address port for pool instead of host ip address hostport.
     * This mode is applicable if the container ip is reachable (not a private nated ip) from other hosts in a routed environment for containers.
     * 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 false.
     * @param useContainerIpPort set the useContainerIpPort.
     */
    public void setUseContainerIpPort(Boolean  useContainerIpPort) {
        this.useContainerIpPort = useContainerIpPort;
    }

    /**
     * This is the getter method this will return the attribute value.
     * If true, use controller generated se docker image via fileservice, else use docker repository image as defined by docker_registry_se.
     * 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 false.
     * @return useControllerImage
     */
    public Boolean getUseControllerImage() {
        return useControllerImage;
    }

    /**
     * This is the setter method to the attribute.
     * If true, use controller generated se docker image via fileservice, else use docker repository image as defined by docker_registry_se.
     * 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 false.
     * @param useControllerImage set the useControllerImage.
     */
    public void setUseControllerImage(Boolean  useControllerImage) {
        this.useControllerImage = useControllerImage;
    }


    @Override
    public boolean equals(java.lang.Object o) {
      if (this == o) {
          return true;
      }
      if (o == null || getClass() != o.getClass()) {
          return false;
      }
      RancherConfiguration objRancherConfiguration = (RancherConfiguration) o;
      return   Objects.equals(this.rancherServers, objRancherConfiguration.rancherServers)&&
  Objects.equals(this.accessKey, objRancherConfiguration.accessKey)&&
  Objects.equals(this.secretKey, objRancherConfiguration.secretKey)&&
  Objects.equals(this.containerPortMatchHttpService, objRancherConfiguration.containerPortMatchHttpService)&&
  Objects.equals(this.httpContainerPorts, objRancherConfiguration.httpContainerPorts)&&
  Objects.equals(this.eastWestPlacementSubnet, objRancherConfiguration.eastWestPlacementSubnet)&&
  Objects.equals(this.seDeploymentMethod, objRancherConfiguration.seDeploymentMethod)&&
  Objects.equals(this.fleetEndpoint, objRancherConfiguration.fleetEndpoint)&&
  Objects.equals(this.dockerRegistrySe, objRancherConfiguration.dockerRegistrySe)&&
  Objects.equals(this.seSpawnRate, objRancherConfiguration.seSpawnRate)&&
  Objects.equals(this.appSyncFrequency, objRancherConfiguration.appSyncFrequency)&&
  Objects.equals(this.disableAutoSeCreation, objRancherConfiguration.disableAutoSeCreation)&&
  Objects.equals(this.disableAutoFrontendServiceSync, objRancherConfiguration.disableAutoFrontendServiceSync)&&
  Objects.equals(this.disableAutoBackendServiceSync, objRancherConfiguration.disableAutoBackendServiceSync)&&
  Objects.equals(this.useContainerIpPort, objRancherConfiguration.useContainerIpPort)&&
  Objects.equals(this.seVolume, objRancherConfiguration.seVolume)&&
  Objects.equals(this.coredumpDirectory, objRancherConfiguration.coredumpDirectory)&&
  Objects.equals(this.enableEventSubscription, objRancherConfiguration.enableEventSubscription)&&
  Objects.equals(this.feproxyContainerPortAsService, objRancherConfiguration.feproxyContainerPortAsService)&&
  Objects.equals(this.servicesAccessibleAllInterfaces, objRancherConfiguration.servicesAccessibleAllInterfaces)&&
  Objects.equals(this.feproxyVipsEnableProxyArp, objRancherConfiguration.feproxyVipsEnableProxyArp)&&
  Objects.equals(this.seExcludeAttributes, objRancherConfiguration.seExcludeAttributes)&&
  Objects.equals(this.seIncludeAttributes, objRancherConfiguration.seIncludeAttributes)&&
  Objects.equals(this.nuageController, objRancherConfiguration.nuageController)&&
  Objects.equals(this.useControllerImage, objRancherConfiguration.useControllerImage)&&
  Objects.equals(this.sshUserRef, objRancherConfiguration.sshUserRef);
    }

    @Override
    public String toString() {
      StringBuilder sb = new StringBuilder();
      sb.append("class RancherConfiguration {\n");
                  sb.append("    accessKey: ").append(toIndentedString(accessKey)).append("\n");
                        sb.append("    appSyncFrequency: ").append(toIndentedString(appSyncFrequency)).append("\n");
                        sb.append("    containerPortMatchHttpService: ").append(toIndentedString(containerPortMatchHttpService)).append("\n");
                        sb.append("    coredumpDirectory: ").append(toIndentedString(coredumpDirectory)).append("\n");
                        sb.append("    disableAutoBackendServiceSync: ").append(toIndentedString(disableAutoBackendServiceSync)).append("\n");
                        sb.append("    disableAutoFrontendServiceSync: ").append(toIndentedString(disableAutoFrontendServiceSync)).append("\n");
                        sb.append("    disableAutoSeCreation: ").append(toIndentedString(disableAutoSeCreation)).append("\n");
                        sb.append("    dockerRegistrySe: ").append(toIndentedString(dockerRegistrySe)).append("\n");
                        sb.append("    eastWestPlacementSubnet: ").append(toIndentedString(eastWestPlacementSubnet)).append("\n");
                        sb.append("    enableEventSubscription: ").append(toIndentedString(enableEventSubscription)).append("\n");
                        sb.append("    feproxyContainerPortAsService: ").append(toIndentedString(feproxyContainerPortAsService)).append("\n");
                        sb.append("    feproxyVipsEnableProxyArp: ").append(toIndentedString(feproxyVipsEnableProxyArp)).append("\n");
                        sb.append("    fleetEndpoint: ").append(toIndentedString(fleetEndpoint)).append("\n");
                        sb.append("    httpContainerPorts: ").append(toIndentedString(httpContainerPorts)).append("\n");
                        sb.append("    nuageController: ").append(toIndentedString(nuageController)).append("\n");
                        sb.append("    rancherServers: ").append(toIndentedString(rancherServers)).append("\n");
                        sb.append("    seDeploymentMethod: ").append(toIndentedString(seDeploymentMethod)).append("\n");
                        sb.append("    seExcludeAttributes: ").append(toIndentedString(seExcludeAttributes)).append("\n");
                        sb.append("    seIncludeAttributes: ").append(toIndentedString(seIncludeAttributes)).append("\n");
                        sb.append("    seSpawnRate: ").append(toIndentedString(seSpawnRate)).append("\n");
                        sb.append("    seVolume: ").append(toIndentedString(seVolume)).append("\n");
                        sb.append("    secretKey: ").append(toIndentedString(secretKey)).append("\n");
                        sb.append("    servicesAccessibleAllInterfaces: ").append(toIndentedString(servicesAccessibleAllInterfaces)).append("\n");
                        sb.append("    sshUserRef: ").append(toIndentedString(sshUserRef)).append("\n");
                        sb.append("    useContainerIpPort: ").append(toIndentedString(useContainerIpPort)).append("\n");
                        sb.append("    useControllerImage: ").append(toIndentedString(useControllerImage)).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