me.snowdrop.istio.api.mesh.v1alpha1.OutboundTrafficPolicy Maven / Gradle / Ivy
package me.snowdrop.istio.api.mesh.v1alpha1;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
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",
"mode"
})
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = {
@Inline(type = Doneable.class, prefix = "Doneable", value = "done")
}, refs = {
@BuildableReference(ObjectMeta.class)
})
public class OutboundTrafficPolicy implements Serializable
{
@JsonProperty("mode")
private Mode mode;
private final static long serialVersionUID = -5324086863343427978L;
/**
* No args constructor for use in serialization
*
*/
public OutboundTrafficPolicy() {
}
/**
*
* @param mode
*/
public OutboundTrafficPolicy(Mode mode) {
super();
this.mode = mode;
}
public Mode getMode() {
return mode;
}
public void setMode(Mode mode) {
this.mode = mode;
}
}