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

annotations.io.alauda.kubernetes.api.model.ServicePortFluent Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version
package io.alauda.kubernetes.api.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.validation.constraints.Size;
import io.alauda.kubernetes.api.builder.Nested;
import com.fasterxml.jackson.databind.JsonSerializer;
import java.lang.String;
import com.fasterxml.jackson.databind.JsonDeserializer;
import java.lang.Deprecated;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.SerializerProvider;
import java.lang.Boolean;
import java.lang.Override;
import com.fasterxml.jackson.core.JsonParser;
import javax.validation.constraints.Pattern;
import io.alauda.kubernetes.api.builder.Fluent;
import java.lang.Integer;
import javax.validation.Valid;
import java.lang.Object;
import java.util.Map;

public interface ServicePortFluent> extends Fluent{


    public String getName();
    public A withName(String name);
    public Boolean hasName();
    public Integer getNodePort();
    public A withNodePort(Integer nodePort);
    public Boolean hasNodePort();
    public Integer getPort();
    public A withPort(Integer port);
    public Boolean hasPort();
    public String getProtocol();
    public A withProtocol(String protocol);
    public Boolean hasProtocol();
    
/**
 * This method has been deprecated, please use method buildTargetPort instead.
 */
@Deprecated public IntOrString getTargetPort();
    public IntOrString buildTargetPort();
    public A withTargetPort(IntOrString targetPort);
    public Boolean hasTargetPort();
    public ServicePortFluent.TargetPortNested withNewTargetPort();
    public ServicePortFluent.TargetPortNested withNewTargetPortLike(IntOrString item);
    public ServicePortFluent.TargetPortNested editTargetPort();
    public ServicePortFluent.TargetPortNested editOrNewTargetPort();
    public ServicePortFluent.TargetPortNested editOrNewTargetPortLike(IntOrString item);
    public A withNewTargetPort(Integer intVal);
    public A withNewTargetPort(String strVal);

    public interface TargetPortNested extends io.alauda.kubernetes.api.builder.Nested,IntOrStringFluent>{

        
    public N and();    public N endTargetPort();
}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy