Class EgressRouterAddress
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.network.v1.EgressRouterAddress
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<EgressRouterAddressBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class EgressRouterAddress extends Object implements io.fabric8.kubernetes.api.builder.Editable<EgressRouterAddressBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
EgressRouterAddress contains a pair of IP CIDR and gateway to be configured on the router's interface- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EgressRouterAddress()No args constructor for use in serializationEgressRouterAddress(String gateway, String ip)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EgressRouterAddressBuilderedit()Map<String,Object>getAdditionalProperties()StringgetGateway()IP address of the next-hop gateway, if it cannot be automatically determined.StringgetIp()ip is the address to configure on the router's interface.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGateway(String gateway)IP address of the next-hop gateway, if it cannot be automatically determined.voidsetIp(String ip)ip is the address to configure on the router's interface.EgressRouterAddressBuildertoBuilder()
-
-
-
Method Detail
-
getGateway
public String getGateway()
IP address of the next-hop gateway, if it cannot be automatically determined. Can be IPv4 or IPv6.
-
setGateway
public void setGateway(String gateway)
IP address of the next-hop gateway, if it cannot be automatically determined. Can be IPv4 or IPv6.
-
getIp
public String getIp()
ip is the address to configure on the router's interface. Can be IPv4 or IPv6.
-
setIp
public void setIp(String ip)
ip is the address to configure on the router's interface. Can be IPv4 or IPv6.
-
edit
public EgressRouterAddressBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<EgressRouterAddressBuilder>
-
toBuilder
public EgressRouterAddressBuilder toBuilder()
-
-