@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-07-29T18:17:00.375Z[Etc/UTC]") public class V1beta1EndpointSlice extends Object implements KubernetesObject
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_ADDRESS_TYPE |
static String |
SERIALIZED_NAME_API_VERSION |
static String |
SERIALIZED_NAME_ENDPOINTS |
static String |
SERIALIZED_NAME_KIND |
static String |
SERIALIZED_NAME_METADATA |
static String |
SERIALIZED_NAME_PORTS |
Constructor and Description |
---|
V1beta1EndpointSlice() |
Modifier and Type | Method and Description |
---|---|
V1beta1EndpointSlice |
addEndpointsItem(V1beta1Endpoint endpointsItem) |
V1beta1EndpointSlice |
addPortsItem(V1beta1EndpointPort portsItem) |
V1beta1EndpointSlice |
addressType(String addressType) |
V1beta1EndpointSlice |
apiVersion(String apiVersion) |
V1beta1EndpointSlice |
endpoints(List<V1beta1Endpoint> endpoints) |
boolean |
equals(Object o) |
String |
getAddressType()
addressType specifies the type of address carried by this EndpointSlice.
|
String |
getApiVersion()
APIVersion defines the versioned schema of this representation of an object.
|
List<V1beta1Endpoint> |
getEndpoints()
endpoints is a list of unique endpoints in this slice.
|
String |
getKind()
Kind is a string value representing the REST resource this object represents.
|
V1ObjectMeta |
getMetadata()
Get metadata
|
List<V1beta1EndpointPort> |
getPorts()
ports specifies the list of network ports exposed by each endpoint in this slice.
|
int |
hashCode() |
V1beta1EndpointSlice |
kind(String kind) |
V1beta1EndpointSlice |
metadata(V1ObjectMeta metadata) |
V1beta1EndpointSlice |
ports(List<V1beta1EndpointPort> ports) |
void |
setAddressType(String addressType) |
void |
setApiVersion(String apiVersion) |
void |
setEndpoints(List<V1beta1Endpoint> endpoints) |
void |
setKind(String kind) |
void |
setMetadata(V1ObjectMeta metadata) |
void |
setPorts(List<V1beta1EndpointPort> ports) |
String |
toString() |
public static final String SERIALIZED_NAME_ADDRESS_TYPE
public static final String SERIALIZED_NAME_API_VERSION
public static final String SERIALIZED_NAME_ENDPOINTS
public static final String SERIALIZED_NAME_KIND
public static final String SERIALIZED_NAME_METADATA
public static final String SERIALIZED_NAME_PORTS
public V1beta1EndpointSlice addressType(String addressType)
public String getAddressType()
public void setAddressType(String addressType)
public V1beta1EndpointSlice apiVersion(String apiVersion)
@Nullable public String getApiVersion()
getApiVersion
in interface KubernetesType
public void setApiVersion(String apiVersion)
public V1beta1EndpointSlice endpoints(List<V1beta1Endpoint> endpoints)
public V1beta1EndpointSlice addEndpointsItem(V1beta1Endpoint endpointsItem)
public List<V1beta1Endpoint> getEndpoints()
public void setEndpoints(List<V1beta1Endpoint> endpoints)
public V1beta1EndpointSlice kind(String kind)
@Nullable public String getKind()
getKind
in interface KubernetesType
public void setKind(String kind)
public V1beta1EndpointSlice metadata(V1ObjectMeta metadata)
@Nullable public V1ObjectMeta getMetadata()
getMetadata
in interface KubernetesObject
public void setMetadata(V1ObjectMeta metadata)
public V1beta1EndpointSlice ports(List<V1beta1EndpointPort> ports)
public V1beta1EndpointSlice addPortsItem(V1beta1EndpointPort portsItem)
@Nullable public List<V1beta1EndpointPort> getPorts()
public void setPorts(List<V1beta1EndpointPort> ports)
Copyright © 2020. All rights reserved.