Class AWSPrivateLinkConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.AWSPrivateLinkConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AWSPrivateLinkConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AWSPrivateLinkConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<AWSPrivateLinkConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
AWSPrivateLinkConfig defines the configuration for the aws-private-link controller.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AWSPrivateLinkConfig()No args constructor for use in serializationAWSPrivateLinkConfig(List<AWSAssociatedVPC> associatedVPCs, io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecretRef, String dnsRecordType, List<AWSPrivateLinkInventory> endpointVPCInventory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AWSPrivateLinkConfigBuilderedit()Map<String,Object>getAdditionalProperties()List<AWSAssociatedVPC>getAssociatedVPCs()AssociatedVPCs is the list of VPCs that should be able to resolve the DNS addresses setup for Private Link.io.fabric8.kubernetes.api.model.LocalObjectReferencegetCredentialsSecretRef()AWSPrivateLinkConfig defines the configuration for the aws-private-link controller.StringgetDnsRecordType()DNSRecordType defines what type of DNS record should be created in Private Hosted Zone for the customer cluster's API endpoint (which is the VPC Endpoint's regional DNS name).List<AWSPrivateLinkInventory>getEndpointVPCInventory()EndpointVPCInventory is a list of VPCs and the corresponding subnets in various AWS regions.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAssociatedVPCs(List<AWSAssociatedVPC> associatedVPCs)AssociatedVPCs is the list of VPCs that should be able to resolve the DNS addresses setup for Private Link.voidsetCredentialsSecretRef(io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecretRef)AWSPrivateLinkConfig defines the configuration for the aws-private-link controller.voidsetDnsRecordType(String dnsRecordType)DNSRecordType defines what type of DNS record should be created in Private Hosted Zone for the customer cluster's API endpoint (which is the VPC Endpoint's regional DNS name).voidsetEndpointVPCInventory(List<AWSPrivateLinkInventory> endpointVPCInventory)EndpointVPCInventory is a list of VPCs and the corresponding subnets in various AWS regions.AWSPrivateLinkConfigBuildertoBuilder()
-
-
-
Constructor Detail
-
AWSPrivateLinkConfig
public AWSPrivateLinkConfig()
No args constructor for use in serialization
-
AWSPrivateLinkConfig
public AWSPrivateLinkConfig(List<AWSAssociatedVPC> associatedVPCs, io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecretRef, String dnsRecordType, List<AWSPrivateLinkInventory> endpointVPCInventory)
-
-
Method Detail
-
getAssociatedVPCs
public List<AWSAssociatedVPC> getAssociatedVPCs()
AssociatedVPCs is the list of VPCs that should be able to resolve the DNS addresses setup for Private Link. This allows clients in VPC to resolve the AWS PrivateLink address using AWS's default DNS resolver for Private Route53 Hosted Zones.This list should at minimum include the VPC where the current Hive controller is running.
-
setAssociatedVPCs
public void setAssociatedVPCs(List<AWSAssociatedVPC> associatedVPCs)
AssociatedVPCs is the list of VPCs that should be able to resolve the DNS addresses setup for Private Link. This allows clients in VPC to resolve the AWS PrivateLink address using AWS's default DNS resolver for Private Route53 Hosted Zones.This list should at minimum include the VPC where the current Hive controller is running.
-
getCredentialsSecretRef
public io.fabric8.kubernetes.api.model.LocalObjectReference getCredentialsSecretRef()
AWSPrivateLinkConfig defines the configuration for the aws-private-link controller.
-
setCredentialsSecretRef
public void setCredentialsSecretRef(io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecretRef)
AWSPrivateLinkConfig defines the configuration for the aws-private-link controller.
-
getDnsRecordType
public String getDnsRecordType()
DNSRecordType defines what type of DNS record should be created in Private Hosted Zone for the customer cluster's API endpoint (which is the VPC Endpoint's regional DNS name).
-
setDnsRecordType
public void setDnsRecordType(String dnsRecordType)
DNSRecordType defines what type of DNS record should be created in Private Hosted Zone for the customer cluster's API endpoint (which is the VPC Endpoint's regional DNS name).
-
getEndpointVPCInventory
public List<AWSPrivateLinkInventory> getEndpointVPCInventory()
EndpointVPCInventory is a list of VPCs and the corresponding subnets in various AWS regions. The controller uses this list to choose a VPC for creating AWS VPC 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 Link.
-
setEndpointVPCInventory
public void setEndpointVPCInventory(List<AWSPrivateLinkInventory> endpointVPCInventory)
EndpointVPCInventory is a list of VPCs and the corresponding subnets in various AWS regions. The controller uses this list to choose a VPC for creating AWS VPC 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 Link.
-
edit
public AWSPrivateLinkConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AWSPrivateLinkConfigBuilder>
-
toBuilder
public AWSPrivateLinkConfigBuilder toBuilder()
-
-