Package com.exoscale.sdk.model
Class PrivateNetwork
- java.lang.Object
-
- com.exoscale.sdk.model.PrivateNetwork
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class PrivateNetwork extends Object
Private Network
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_END_IP
static String
JSON_PROPERTY_ID
static String
JSON_PROPERTY_LABELS
static String
JSON_PROPERTY_LEASES
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_NETMASK
static String
JSON_PROPERTY_OPTIONS
static String
JSON_PROPERTY_START_IP
static String
JSON_PROPERTY_VNI
-
Constructor Summary
Constructors Constructor Description PrivateNetwork()
PrivateNetwork(List<PrivateNetworkLease> leases, UUID id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateNetwork
description(String description)
PrivateNetwork
endIp(String endIp)
boolean
equals(Object o)
Return true if this private-network object is equal to o.String
getDescription()
Private Network descriptionString
getEndIp()
Private Network end IP addressUUID
getId()
Private Network IDMap<String,String>
getLabels()
Get labelsList<PrivateNetworkLease>
getLeases()
Private Network leased IP addressesString
getName()
Private Network nameString
getNetmask()
Private Network netmaskPrivateNetworkOptions
getOptions()
Get optionsString
getStartIp()
Private Network start IP addressLong
getVni()
Private Network VXLAN ID minimum: 0int
hashCode()
PrivateNetwork
labels(Map<String,String> labels)
PrivateNetwork
name(String name)
PrivateNetwork
netmask(String netmask)
PrivateNetwork
options(PrivateNetworkOptions options)
PrivateNetwork
putLabelsItem(String key, String labelsItem)
void
setDescription(String description)
void
setEndIp(String endIp)
void
setLabels(Map<String,String> labels)
void
setName(String name)
void
setNetmask(String netmask)
void
setOptions(PrivateNetworkOptions options)
void
setStartIp(String startIp)
void
setVni(Long vni)
PrivateNetwork
startIp(String startIp)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.PrivateNetwork
vni(Long vni)
-
-
-
Field Detail
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_START_IP
public static final String JSON_PROPERTY_START_IP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEASES
public static final String JSON_PROPERTY_LEASES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VNI
public static final String JSON_PROPERTY_VNI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETMASK
public static final String JSON_PROPERTY_NETMASK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPTIONS
public static final String JSON_PROPERTY_OPTIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_END_IP
public static final String JSON_PROPERTY_END_IP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PrivateNetwork
public PrivateNetwork()
-
PrivateNetwork
public PrivateNetwork(List<PrivateNetworkLease> leases, UUID id)
-
-
Method Detail
-
description
public PrivateNetwork description(String description)
-
getDescription
@Nullable public String getDescription()
Private Network description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
labels
public PrivateNetwork labels(Map<String,String> labels)
-
putLabelsItem
public PrivateNetwork putLabelsItem(String key, String labelsItem)
-
name
public PrivateNetwork name(String name)
-
getName
@Nullable public String getName()
Private Network name- Returns:
- name
-
setName
public void setName(String name)
-
startIp
public PrivateNetwork startIp(String startIp)
-
getStartIp
@Nullable public String getStartIp()
Private Network start IP address- Returns:
- startIp
-
setStartIp
public void setStartIp(String startIp)
-
getLeases
@Nullable public List<PrivateNetworkLease> getLeases()
Private Network leased IP addresses- Returns:
- leases
-
getId
@Nullable public UUID getId()
Private Network ID- Returns:
- id
-
vni
public PrivateNetwork vni(Long vni)
-
getVni
@Nullable public Long getVni()
Private Network VXLAN ID minimum: 0- Returns:
- vni
-
setVni
public void setVni(Long vni)
-
netmask
public PrivateNetwork netmask(String netmask)
-
getNetmask
@Nullable public String getNetmask()
Private Network netmask- Returns:
- netmask
-
setNetmask
public void setNetmask(String netmask)
-
options
public PrivateNetwork options(PrivateNetworkOptions options)
-
getOptions
@Nullable public PrivateNetworkOptions getOptions()
Get options- Returns:
- options
-
setOptions
public void setOptions(PrivateNetworkOptions options)
-
endIp
public PrivateNetwork endIp(String endIp)
-
getEndIp
@Nullable public String getEndIp()
Private Network end IP address- Returns:
- endIp
-
setEndIp
public void setEndIp(String endIp)
-
equals
public boolean equals(Object o)
Return true if this private-network object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-