Class EndpointSettings
java.lang.Object
io.github.alersrt.pod4j.openapi.model.EndpointSettings
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class EndpointSettings
extends Object
EndpointSettings stores the network endpoint details
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAliasesItem(String aliasesItem) addDnSNamesItem(String dnSNamesItem) addLinksItem(String linksItem) driverOpts(Map<String, String> driverOpts) endpointID(String endpointID) booleanstatic EndpointSettingsCreate an instance of EndpointSettings given an JSON stringGet aliasesDNSNames holds all the (non fully qualified) DNS names associated to this endpoint.Get driverOptsGet endpointIDGet gatewayGet globalIPv6AddressGet globalIPv6PrefixLenGet ipAddressGet ipAMConfigGet ipPrefixLenGet ipv6GatewaygetLinks()Get linksMacAddress may be used to specify a MAC address when the container is created.Operational dataglobalIPv6Address(String globalIPv6Address) globalIPv6PrefixLen(Long globalIPv6PrefixLen) inthashCode()ipAMConfig(EndpointIPAMConfig ipAMConfig) ipPrefixLen(Long ipPrefixLen) ipv6Gateway(String ipv6Gateway) macAddress(String macAddress) putDriverOptsItem(String key, String driverOptsItem) voidsetAliases(List<String> aliases) voidsetDnSNames(List<String> dnSNames) voidsetDriverOpts(Map<String, String> driverOpts) voidsetEndpointID(String endpointID) voidsetGateway(String gateway) voidsetGlobalIPv6Address(String globalIPv6Address) voidsetGlobalIPv6PrefixLen(Long globalIPv6PrefixLen) voidsetIpAddress(String ipAddress) voidsetIpAMConfig(EndpointIPAMConfig ipAMConfig) voidsetIpPrefixLen(Long ipPrefixLen) voidsetIpv6Gateway(String ipv6Gateway) voidvoidsetMacAddress(String macAddress) voidsetNetworkID(String networkID) toJson()Convert an instance of EndpointSettings to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ALIASES
- See Also:
-
SERIALIZED_NAME_DN_S_NAMES
- See Also:
-
SERIALIZED_NAME_DRIVER_OPTS
- See Also:
-
SERIALIZED_NAME_ENDPOINT_I_D
- See Also:
-
SERIALIZED_NAME_GATEWAY
- See Also:
-
SERIALIZED_NAME_GLOBAL_I_PV6_ADDRESS
- See Also:
-
SERIALIZED_NAME_GLOBAL_I_PV6_PREFIX_LEN
- See Also:
-
SERIALIZED_NAME_IP_A_M_CONFIG
- See Also:
-
SERIALIZED_NAME_IP_ADDRESS
- See Also:
-
SERIALIZED_NAME_IP_PREFIX_LEN
- See Also:
-
SERIALIZED_NAME_IPV6_GATEWAY
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
SERIALIZED_NAME_MAC_ADDRESS
- See Also:
-
SERIALIZED_NAME_NETWORK_I_D
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
EndpointSettings
public EndpointSettings()
-
-
Method Details
-
aliases
-
addAliasesItem
-
getAliases
Get aliases- Returns:
- aliases
-
setAliases
-
dnSNames
-
addDnSNamesItem
-
getDnSNames
DNSNames holds all the (non fully qualified) DNS names associated to this endpoint. First entry is used to generate PTR records.- Returns:
- dnSNames
-
setDnSNames
-
driverOpts
-
putDriverOptsItem
-
getDriverOpts
Get driverOpts- Returns:
- driverOpts
-
setDriverOpts
-
endpointID
-
getEndpointID
Get endpointID- Returns:
- endpointID
-
setEndpointID
-
gateway
-
getGateway
Get gateway- Returns:
- gateway
-
setGateway
-
globalIPv6Address
-
getGlobalIPv6Address
Get globalIPv6Address- Returns:
- globalIPv6Address
-
setGlobalIPv6Address
-
globalIPv6PrefixLen
-
getGlobalIPv6PrefixLen
Get globalIPv6PrefixLen- Returns:
- globalIPv6PrefixLen
-
setGlobalIPv6PrefixLen
-
ipAMConfig
-
getIpAMConfig
Get ipAMConfig- Returns:
- ipAMConfig
-
setIpAMConfig
-
ipAddress
-
getIpAddress
Get ipAddress- Returns:
- ipAddress
-
setIpAddress
-
ipPrefixLen
-
getIpPrefixLen
Get ipPrefixLen- Returns:
- ipPrefixLen
-
setIpPrefixLen
-
ipv6Gateway
-
getIpv6Gateway
Get ipv6Gateway- Returns:
- ipv6Gateway
-
setIpv6Gateway
-
links
-
addLinksItem
-
getLinks
Get links- Returns:
- links
-
setLinks
-
macAddress
-
getMacAddress
MacAddress may be used to specify a MAC address when the container is created. Once the container is running, it becomes operational data (it may contain a generated address).- Returns:
- macAddress
-
setMacAddress
-
networkID
-
getNetworkID
Operational data- Returns:
- networkID
-
setNetworkID
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to EndpointSettings
-
fromJson
Create an instance of EndpointSettings given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EndpointSettings
- Throws:
IOException- if the JSON string is invalid with respect to EndpointSettings
-
toJson
Convert an instance of EndpointSettings to an JSON string- Returns:
- JSON string
-