Class GCPNetworkInterface
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1beta1.GCPNetworkInterface
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GCPNetworkInterfaceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GCPNetworkInterface extends Object implements io.fabric8.kubernetes.api.builder.Editable<GCPNetworkInterfaceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
GCPNetworkInterface describes network interfaces for GCP- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GCPNetworkInterface()No args constructor for use in serializationGCPNetworkInterface(String network, String projectID, Boolean publicIP, String subnetwork)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GCPNetworkInterfaceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetNetwork()network is the network name.StringgetProjectID()projectID is the project in which the GCP machine provider will create the VM.BooleangetPublicIP()publicIP indicates if true a public IP will be usedStringgetSubnetwork()subnetwork is the subnetwork name.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetNetwork(String network)network is the network name.voidsetProjectID(String projectID)projectID is the project in which the GCP machine provider will create the VM.voidsetPublicIP(Boolean publicIP)publicIP indicates if true a public IP will be usedvoidsetSubnetwork(String subnetwork)subnetwork is the subnetwork name.GCPNetworkInterfaceBuildertoBuilder()
-
-
-
Method Detail
-
getNetwork
public String getNetwork()
network is the network name.
-
setNetwork
public void setNetwork(String network)
network is the network name.
-
getProjectID
public String getProjectID()
projectID is the project in which the GCP machine provider will create the VM.
-
setProjectID
public void setProjectID(String projectID)
projectID is the project in which the GCP machine provider will create the VM.
-
getPublicIP
public Boolean getPublicIP()
publicIP indicates if true a public IP will be used
-
setPublicIP
public void setPublicIP(Boolean publicIP)
publicIP indicates if true a public IP will be used
-
getSubnetwork
public String getSubnetwork()
subnetwork is the subnetwork name.
-
setSubnetwork
public void setSubnetwork(String subnetwork)
subnetwork is the subnetwork name.
-
edit
public GCPNetworkInterfaceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GCPNetworkInterfaceBuilder>
-
toBuilder
public GCPNetworkInterfaceBuilder toBuilder()
-
-