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

io.dekorate.servicebinding.model.ResourceFieldRef Maven / Gradle / Ivy

package io.dekorate.servicebinding.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

import io.sundr.builder.annotations.Buildable;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({ "containerName", "divisor", "resource" })
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@Buildable(editableEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder")
public class ResourceFieldRef {

  private String containerName;
  private String divisor;
  private String resource;

  public ResourceFieldRef(String containerName, String divisor, String resource) {
    super();
    this.containerName = containerName;
    this.divisor = divisor;
    this.resource = resource;
  }

  public String getContainerName() {
    return containerName;
  }

  public void setContainerName(String containerName) {
    this.containerName = containerName;
  }

  public String getDivisor() {
    return divisor;
  }

  public void setDivisor(String divisor) {
    this.divisor = divisor;
  }

  public String getResource() {
    return resource;
  }

  public void setResource(String resource) {
    this.resource = resource;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy