Class EndpointSettings

java.lang.Object
io.github.alersrt.pod4j.openapi.model.EndpointSettings

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]", comments="Generator version: 7.7.0") public class EndpointSettings extends Object
EndpointSettings stores the network endpoint details
  • Field Details

  • Constructor Details

    • EndpointSettings

      public EndpointSettings()
  • Method Details

    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static EndpointSettings fromJson(String jsonString) throws IOException
      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
    • aliases

      public EndpointSettings aliases(List<String> aliases)
    • addAliasesItem

      public EndpointSettings addAliasesItem(String aliasesItem)
    • getAliases

      @Nullable public List<String> getAliases()
      Get aliases
      Returns:
      aliases
    • setAliases

      public void setAliases(List<String> aliases)
    • dnSNames

      public EndpointSettings dnSNames(List<String> dnSNames)
    • addDnSNamesItem

      public EndpointSettings addDnSNamesItem(String dnSNamesItem)
    • getDnSNames

      @Nullable public List<String> 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

      public void setDnSNames(List<String> dnSNames)
    • driverOpts

      public EndpointSettings driverOpts(Map<String,String> driverOpts)
    • putDriverOptsItem

      public EndpointSettings putDriverOptsItem(String key, String driverOptsItem)
    • getDriverOpts

      @Nullable public Map<String,String> getDriverOpts()
      Get driverOpts
      Returns:
      driverOpts
    • setDriverOpts

      public void setDriverOpts(Map<String,String> driverOpts)
    • endpointID

      public EndpointSettings endpointID(String endpointID)
    • getEndpointID

      @Nullable public String getEndpointID()
      Get endpointID
      Returns:
      endpointID
    • setEndpointID

      public void setEndpointID(String endpointID)
    • gateway

      public EndpointSettings gateway(String gateway)
    • getGateway

      @Nullable public String getGateway()
      Get gateway
      Returns:
      gateway
    • setGateway

      public void setGateway(String gateway)
    • globalIPv6Address

      public EndpointSettings globalIPv6Address(String globalIPv6Address)
    • getGlobalIPv6Address

      @Nullable public String getGlobalIPv6Address()
      Get globalIPv6Address
      Returns:
      globalIPv6Address
    • setGlobalIPv6Address

      public void setGlobalIPv6Address(String globalIPv6Address)
    • globalIPv6PrefixLen

      public EndpointSettings globalIPv6PrefixLen(Long globalIPv6PrefixLen)
    • getGlobalIPv6PrefixLen

      @Nullable public Long getGlobalIPv6PrefixLen()
      Get globalIPv6PrefixLen
      Returns:
      globalIPv6PrefixLen
    • setGlobalIPv6PrefixLen

      public void setGlobalIPv6PrefixLen(Long globalIPv6PrefixLen)
    • ipAMConfig

      public EndpointSettings ipAMConfig(EndpointIPAMConfig ipAMConfig)
    • getIpAMConfig

      @Nullable @Valid public @Valid EndpointIPAMConfig getIpAMConfig()
      Get ipAMConfig
      Returns:
      ipAMConfig
    • setIpAMConfig

      public void setIpAMConfig(EndpointIPAMConfig ipAMConfig)
    • ipAddress

      public EndpointSettings ipAddress(String ipAddress)
    • getIpAddress

      @Nullable public String getIpAddress()
      Get ipAddress
      Returns:
      ipAddress
    • setIpAddress

      public void setIpAddress(String ipAddress)
    • ipPrefixLen

      public EndpointSettings ipPrefixLen(Long ipPrefixLen)
    • getIpPrefixLen

      @Nullable public Long getIpPrefixLen()
      Get ipPrefixLen
      Returns:
      ipPrefixLen
    • setIpPrefixLen

      public void setIpPrefixLen(Long ipPrefixLen)
    • ipv6Gateway

      public EndpointSettings ipv6Gateway(String ipv6Gateway)
    • getIpv6Gateway

      @Nullable public String getIpv6Gateway()
      Get ipv6Gateway
      Returns:
      ipv6Gateway
    • setIpv6Gateway

      public void setIpv6Gateway(String ipv6Gateway)
    • links

      public EndpointSettings links(List<String> links)
    • addLinksItem

      public EndpointSettings addLinksItem(String linksItem)
    • getLinks

      @Nullable public List<String> getLinks()
      Get links
      Returns:
      links
    • setLinks

      public void setLinks(List<String> links)
    • macAddress

      public EndpointSettings macAddress(String macAddress)
    • getMacAddress

      @Nullable public String 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

      public void setMacAddress(String macAddress)
    • networkID

      public EndpointSettings networkID(String networkID)
    • getNetworkID

      @Nullable public String getNetworkID()
      Operational data
      Returns:
      networkID
    • setNetworkID

      public void setNetworkID(String networkID)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toJson

      public String toJson()
      Convert an instance of EndpointSettings to an JSON string
      Returns:
      JSON string