Class GCPPrivateServiceConnectConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.GCPPrivateServiceConnectConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GCPPrivateServiceConnectConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GCPPrivateServiceConnectConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<GCPPrivateServiceConnectConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
GCPPrivateServiceConnectConfig defines the gcp private service connect config for the private-link controller.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GCPPrivateServiceConnectConfig()No args constructor for use in serializationGCPPrivateServiceConnectConfig(io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecretRef, List<GCPPrivateServiceConnectInventory> endpointVPCInventory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GCPPrivateServiceConnectConfigBuilderedit()Map<String,Object>getAdditionalProperties()io.fabric8.kubernetes.api.model.LocalObjectReferencegetCredentialsSecretRef()GCPPrivateServiceConnectConfig defines the gcp private service connect config for the private-link controller.List<GCPPrivateServiceConnectInventory>getEndpointVPCInventory()EndpointVPCInventory is a list of VPCs and the corresponding subnets in various GCP regions.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCredentialsSecretRef(io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecretRef)GCPPrivateServiceConnectConfig defines the gcp private service connect config for the private-link controller.voidsetEndpointVPCInventory(List<GCPPrivateServiceConnectInventory> endpointVPCInventory)EndpointVPCInventory is a list of VPCs and the corresponding subnets in various GCP regions.GCPPrivateServiceConnectConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
GCPPrivateServiceConnectConfig
public GCPPrivateServiceConnectConfig()
No args constructor for use in serialization
-
GCPPrivateServiceConnectConfig
public GCPPrivateServiceConnectConfig(io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecretRef, List<GCPPrivateServiceConnectInventory> endpointVPCInventory)
-
-
Method Detail
-
getCredentialsSecretRef
public io.fabric8.kubernetes.api.model.LocalObjectReference getCredentialsSecretRef()
GCPPrivateServiceConnectConfig defines the gcp private service connect config for the private-link controller.
-
setCredentialsSecretRef
public void setCredentialsSecretRef(io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecretRef)
GCPPrivateServiceConnectConfig defines the gcp private service connect config for the private-link controller.
-
getEndpointVPCInventory
public List<GCPPrivateServiceConnectInventory> getEndpointVPCInventory()
EndpointVPCInventory is a list of VPCs and the corresponding subnets in various GCP regions. The controller uses this list to choose a VPC for creating GCP Endpoints. Since the VPC Endpoints must be in the same region as the ClusterDeployment, we must have VPCs in that region to be able to setup Private Service Connect.
-
setEndpointVPCInventory
public void setEndpointVPCInventory(List<GCPPrivateServiceConnectInventory> endpointVPCInventory)
EndpointVPCInventory is a list of VPCs and the corresponding subnets in various GCP regions. The controller uses this list to choose a VPC for creating GCP Endpoints. Since the VPC Endpoints must be in the same region as the ClusterDeployment, we must have VPCs in that region to be able to setup Private Service Connect.
-
edit
public GCPPrivateServiceConnectConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GCPPrivateServiceConnectConfigBuilder>
-
toBuilder
public GCPPrivateServiceConnectConfigBuilder toBuilder()
-
-