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

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

There is a newer version: 4.1.4
Show newest version
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({ "key", "name", "optional" })
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@Buildable(editableEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder")
public class ConfigMapKeyRef {

  private String key;
  private String name;
  private boolean optional;

  public ConfigMapKeyRef(String key, String name, boolean optional) {
    super();
    this.key = key;
    this.name = name;
    this.optional = optional;
  }

  public String getKey() {
    return key;
  }

  public void setKey(String key) {
    this.key = key;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public boolean isOptional() {
    return optional;
  }

  public void setOptional(boolean optional) {
    this.optional = optional;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy