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

me.snowdrop.istio.api.rbac.v1alpha1.Target Maven / Gradle / Ivy


package me.snowdrop.istio.api.rbac.v1alpha1;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.validation.Valid;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import io.fabric8.kubernetes.api.model.Doneable;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;


/**
 * 
 * 
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
    "apiVersion",
    "kind",
    "metadata",
    "namespaces",
    "services",
    "workloadSelectors"
})
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = {
    @Inline(type = Doneable.class, prefix = "Doneable", value = "done")
}, refs = {
    @BuildableReference(ObjectMeta.class)
})
public class Target implements Serializable
{

    /**
     * 
     * 
     */
    @JsonProperty("namespaces")
    @JsonPropertyDescription("")
    @Valid
    private List namespaces = new ArrayList();
    /**
     * 
     * 
     */
    @JsonProperty("services")
    @JsonPropertyDescription("")
    @Valid
    private List services = new ArrayList();
    /**
     * 
     * 
     */
    @JsonProperty("workloadSelectors")
    @JsonPropertyDescription("")
    @Valid
    private List workloadSelectors = new ArrayList();
    private final static long serialVersionUID = -8628966622673969690L;

    /**
     * No args constructor for use in serialization
     * 
     */
    public Target() {
    }

    /**
     * 
     * @param workloadSelectors
     * @param services
     * @param namespaces
     */
    public Target(List namespaces, List services, List workloadSelectors) {
        super();
        this.namespaces = namespaces;
        this.services = services;
        this.workloadSelectors = workloadSelectors;
    }

    /**
     * 
     * 
     */
    @JsonProperty("namespaces")
    public List getNamespaces() {
        return namespaces;
    }

    /**
     * 
     * 
     */
    @JsonProperty("namespaces")
    public void setNamespaces(List namespaces) {
        this.namespaces = namespaces;
    }

    /**
     * 
     * 
     */
    @JsonProperty("services")
    public List getServices() {
        return services;
    }

    /**
     * 
     * 
     */
    @JsonProperty("services")
    public void setServices(List services) {
        this.services = services;
    }

    /**
     * 
     * 
     */
    @JsonProperty("workloadSelectors")
    public List getWorkloadSelectors() {
        return workloadSelectors;
    }

    /**
     * 
     * 
     */
    @JsonProperty("workloadSelectors")
    public void setWorkloadSelectors(List workloadSelectors) {
        this.workloadSelectors = workloadSelectors;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy