Class VpcEndpointState.Builder

  • Enclosing class:
    VpcEndpointState

    public static final class VpcEndpointState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public VpcEndpointState.Builder arn​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the VPC endpoint.
        Returns:
        builder
      • arn

        public VpcEndpointState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the VPC endpoint.
        Returns:
        builder
      • autoAccept

        public VpcEndpointState.Builder autoAccept​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> autoAccept)
        Parameters:
        autoAccept - Whether to accept the VPC endpoint (the VPC endpoint and service need to be in the same AWS account).
        Returns:
        builder
      • autoAccept

        public VpcEndpointState.Builder autoAccept​(java.lang.Boolean autoAccept)
        Parameters:
        autoAccept - Whether to accept the VPC endpoint (the VPC endpoint and service need to be in the same AWS account).
        Returns:
        builder
      • cidrBlocks

        public VpcEndpointState.Builder cidrBlocks​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> cidrBlocks)
        Parameters:
        cidrBlocks - List of CIDR blocks for the exposed AWS service. Applicable for endpoints of type `Gateway`.
        Returns:
        builder
      • cidrBlocks

        public VpcEndpointState.Builder cidrBlocks​(java.util.List<java.lang.String> cidrBlocks)
        Parameters:
        cidrBlocks - List of CIDR blocks for the exposed AWS service. Applicable for endpoints of type `Gateway`.
        Returns:
        builder
      • cidrBlocks

        public VpcEndpointState.Builder cidrBlocks​(java.lang.String... cidrBlocks)
        Parameters:
        cidrBlocks - List of CIDR blocks for the exposed AWS service. Applicable for endpoints of type `Gateway`.
        Returns:
        builder
      • dnsEntries

        public VpcEndpointState.Builder dnsEntries​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<VpcEndpointDnsEntryArgs>> dnsEntries)
        Parameters:
        dnsEntries - DNS entries for the VPC Endpoint. Applicable for endpoints of type `Interface`. See `dnsEntry` below.
        Returns:
        builder
      • dnsEntries

        public VpcEndpointState.Builder dnsEntries​(java.util.List<VpcEndpointDnsEntryArgs> dnsEntries)
        Parameters:
        dnsEntries - DNS entries for the VPC Endpoint. Applicable for endpoints of type `Interface`. See `dnsEntry` below.
        Returns:
        builder
      • dnsEntries

        public VpcEndpointState.Builder dnsEntries​(VpcEndpointDnsEntryArgs... dnsEntries)
        Parameters:
        dnsEntries - DNS entries for the VPC Endpoint. Applicable for endpoints of type `Interface`. See `dnsEntry` below.
        Returns:
        builder
      • ipAddressType

        public VpcEndpointState.Builder ipAddressType​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> ipAddressType)
        Parameters:
        ipAddressType - IP address type for the endpoint. Valid values are `ipv4`, `dualstack`, and `ipv6`.
        Returns:
        builder
      • ipAddressType

        public VpcEndpointState.Builder ipAddressType​(java.lang.String ipAddressType)
        Parameters:
        ipAddressType - IP address type for the endpoint. Valid values are `ipv4`, `dualstack`, and `ipv6`.
        Returns:
        builder
      • networkInterfaceIds

        public VpcEndpointState.Builder networkInterfaceIds​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> networkInterfaceIds)
        Parameters:
        networkInterfaceIds - One or more network interfaces for the VPC Endpoint. Applicable for endpoints of type `Interface`.
        Returns:
        builder
      • networkInterfaceIds

        public VpcEndpointState.Builder networkInterfaceIds​(java.util.List<java.lang.String> networkInterfaceIds)
        Parameters:
        networkInterfaceIds - One or more network interfaces for the VPC Endpoint. Applicable for endpoints of type `Interface`.
        Returns:
        builder
      • networkInterfaceIds

        public VpcEndpointState.Builder networkInterfaceIds​(java.lang.String... networkInterfaceIds)
        Parameters:
        networkInterfaceIds - One or more network interfaces for the VPC Endpoint. Applicable for endpoints of type `Interface`.
        Returns:
        builder
      • ownerId

        public VpcEndpointState.Builder ownerId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> ownerId)
        Parameters:
        ownerId - ID of the AWS account that owns the VPC endpoint.
        Returns:
        builder
      • ownerId

        public VpcEndpointState.Builder ownerId​(java.lang.String ownerId)
        Parameters:
        ownerId - ID of the AWS account that owns the VPC endpoint.
        Returns:
        builder
      • policy

        public VpcEndpointState.Builder policy​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> policy)
        Parameters:
        policy - Policy to attach to the endpoint that controls access to the service. This is a JSON formatted string. Defaults to full access. All `Gateway` and some `Interface` endpoints support policies - see the [relevant AWS documentation](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints-access.html) for more details. For more information about building AWS IAM policy documents with Pulumi, see the AWS IAM Policy Document Guide.
        Returns:
        builder
      • policy

        public VpcEndpointState.Builder policy​(java.lang.String policy)
        Parameters:
        policy - Policy to attach to the endpoint that controls access to the service. This is a JSON formatted string. Defaults to full access. All `Gateway` and some `Interface` endpoints support policies - see the [relevant AWS documentation](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints-access.html) for more details. For more information about building AWS IAM policy documents with Pulumi, see the AWS IAM Policy Document Guide.
        Returns:
        builder
      • prefixListId

        public VpcEndpointState.Builder prefixListId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> prefixListId)
        Parameters:
        prefixListId - Prefix list ID of the exposed AWS service. Applicable for endpoints of type `Gateway`.
        Returns:
        builder
      • prefixListId

        public VpcEndpointState.Builder prefixListId​(java.lang.String prefixListId)
        Parameters:
        prefixListId - Prefix list ID of the exposed AWS service. Applicable for endpoints of type `Gateway`.
        Returns:
        builder
      • privateDnsEnabled

        public VpcEndpointState.Builder privateDnsEnabled​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Boolean> privateDnsEnabled)
        Parameters:
        privateDnsEnabled - Whether to associate a private hosted zone with the specified VPC. Available for AWS services and AWS Marketplace partner services only. Applicable for endpoints of type `Interface`. Most users will want this enabled to allow services within the VPC to automatically use the endpoint. Defaults to `false`. If `vpcEndpointType` is anything other than `Interface`, changing this value forces a new resource to be created.
        Returns:
        builder
      • privateDnsEnabled

        public VpcEndpointState.Builder privateDnsEnabled​(java.lang.Boolean privateDnsEnabled)
        Parameters:
        privateDnsEnabled - Whether to associate a private hosted zone with the specified VPC. Available for AWS services and AWS Marketplace partner services only. Applicable for endpoints of type `Interface`. Most users will want this enabled to allow services within the VPC to automatically use the endpoint. Defaults to `false`. If `vpcEndpointType` is anything other than `Interface`, changing this value forces a new resource to be created.
        Returns:
        builder
      • region

        public VpcEndpointState.Builder region​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public VpcEndpointState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • requesterManaged

        public VpcEndpointState.Builder requesterManaged​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> requesterManaged)
        Parameters:
        requesterManaged - Whether or not the VPC Endpoint is being managed by its service - `true` or `false`.
        Returns:
        builder
      • requesterManaged

        public VpcEndpointState.Builder requesterManaged​(java.lang.Boolean requesterManaged)
        Parameters:
        requesterManaged - Whether or not the VPC Endpoint is being managed by its service - `true` or `false`.
        Returns:
        builder
      • resourceConfigurationArn

        public VpcEndpointState.Builder resourceConfigurationArn​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> resourceConfigurationArn)
        Parameters:
        resourceConfigurationArn - ARN of a Resource Configuration to connect this VPC Endpoint to. Exactly one of `resourceConfigurationArn`, `serviceName` or `serviceNetworkArn` is required.
        Returns:
        builder
      • resourceConfigurationArn

        public VpcEndpointState.Builder resourceConfigurationArn​(java.lang.String resourceConfigurationArn)
        Parameters:
        resourceConfigurationArn - ARN of a Resource Configuration to connect this VPC Endpoint to. Exactly one of `resourceConfigurationArn`, `serviceName` or `serviceNetworkArn` is required.
        Returns:
        builder
      • routeTableIds

        public VpcEndpointState.Builder routeTableIds​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> routeTableIds)
        Parameters:
        routeTableIds - One or more route table IDs. Applicable for endpoints of type `Gateway`.
        Returns:
        builder
      • routeTableIds

        public VpcEndpointState.Builder routeTableIds​(java.util.List<java.lang.String> routeTableIds)
        Parameters:
        routeTableIds - One or more route table IDs. Applicable for endpoints of type `Gateway`.
        Returns:
        builder
      • routeTableIds

        public VpcEndpointState.Builder routeTableIds​(java.lang.String... routeTableIds)
        Parameters:
        routeTableIds - One or more route table IDs. Applicable for endpoints of type `Gateway`.
        Returns:
        builder
      • securityGroupIds

        public VpcEndpointState.Builder securityGroupIds​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)
        Parameters:
        securityGroupIds - ID of one or more security groups to associate with the network interface. Applicable for endpoints of type `Interface`. If no security groups are specified, the VPC's [default security group](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#DefaultSecurityGroup) is associated with the endpoint.
        Returns:
        builder
      • securityGroupIds

        public VpcEndpointState.Builder securityGroupIds​(java.util.List<java.lang.String> securityGroupIds)
        Parameters:
        securityGroupIds - ID of one or more security groups to associate with the network interface. Applicable for endpoints of type `Interface`. If no security groups are specified, the VPC's [default security group](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#DefaultSecurityGroup) is associated with the endpoint.
        Returns:
        builder
      • securityGroupIds

        public VpcEndpointState.Builder securityGroupIds​(java.lang.String... securityGroupIds)
        Parameters:
        securityGroupIds - ID of one or more security groups to associate with the network interface. Applicable for endpoints of type `Interface`. If no security groups are specified, the VPC's [default security group](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html#DefaultSecurityGroup) is associated with the endpoint.
        Returns:
        builder
      • serviceName

        public VpcEndpointState.Builder serviceName​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> serviceName)
        Parameters:
        serviceName - Service name. For AWS services the service name is usually in the form `com.amazonaws.<region>.<service>` (the SageMaker AI Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker.<region>.notebook`). Exactly one of `resourceConfigurationArn`, `serviceName` or `serviceNetworkArn` is required.
        Returns:
        builder
      • serviceName

        public VpcEndpointState.Builder serviceName​(java.lang.String serviceName)
        Parameters:
        serviceName - Service name. For AWS services the service name is usually in the form `com.amazonaws.<region>.<service>` (the SageMaker AI Notebook service is an exception to this rule, the service name is in the form `aws.sagemaker.<region>.notebook`). Exactly one of `resourceConfigurationArn`, `serviceName` or `serviceNetworkArn` is required.
        Returns:
        builder
      • serviceNetworkArn

        public VpcEndpointState.Builder serviceNetworkArn​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> serviceNetworkArn)
        Parameters:
        serviceNetworkArn - ARN of a Service Network to connect this VPC Endpoint to. Exactly one of `resourceConfigurationArn`, `serviceName` or `serviceNetworkArn` is required.
        Returns:
        builder
      • serviceNetworkArn

        public VpcEndpointState.Builder serviceNetworkArn​(java.lang.String serviceNetworkArn)
        Parameters:
        serviceNetworkArn - ARN of a Service Network to connect this VPC Endpoint to. Exactly one of `resourceConfigurationArn`, `serviceName` or `serviceNetworkArn` is required.
        Returns:
        builder
      • serviceRegion

        public VpcEndpointState.Builder serviceRegion​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> serviceRegion)
        Parameters:
        serviceRegion - AWS region of the VPC Endpoint Service. If specified, the VPC endpoint will connect to the service in the provided region. Applicable for endpoints of type `Interface`.
        Returns:
        builder
      • serviceRegion

        public VpcEndpointState.Builder serviceRegion​(java.lang.String serviceRegion)
        Parameters:
        serviceRegion - AWS region of the VPC Endpoint Service. If specified, the VPC endpoint will connect to the service in the provided region. Applicable for endpoints of type `Interface`.
        Returns:
        builder
      • state

        public VpcEndpointState.Builder state​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - State of the VPC endpoint.
        Returns:
        builder
      • state

        public VpcEndpointState.Builder state​(java.lang.String state)
        Parameters:
        state - State of the VPC endpoint.
        Returns:
        builder
      • subnetConfigurations

        public VpcEndpointState.Builder subnetConfigurations​(@Nullable
                                                             com.pulumi.core.Output<java.util.List<VpcEndpointSubnetConfigurationArgs>> subnetConfigurations)
        Parameters:
        subnetConfigurations - Subnet configuration for the endpoint, used to select specific IPv4 and/or IPv6 addresses to the endpoint. See subnetConfiguration below.
        Returns:
        builder
      • subnetConfigurations

        public VpcEndpointState.Builder subnetConfigurations​(java.util.List<VpcEndpointSubnetConfigurationArgs> subnetConfigurations)
        Parameters:
        subnetConfigurations - Subnet configuration for the endpoint, used to select specific IPv4 and/or IPv6 addresses to the endpoint. See subnetConfiguration below.
        Returns:
        builder
      • subnetConfigurations

        public VpcEndpointState.Builder subnetConfigurations​(VpcEndpointSubnetConfigurationArgs... subnetConfigurations)
        Parameters:
        subnetConfigurations - Subnet configuration for the endpoint, used to select specific IPv4 and/or IPv6 addresses to the endpoint. See subnetConfiguration below.
        Returns:
        builder
      • subnetIds

        public VpcEndpointState.Builder subnetIds​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)
        Parameters:
        subnetIds - ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type `GatewayLoadBalancer` and `Interface`. Interface type endpoints cannot function without being assigned to a subnet.
        Returns:
        builder
      • subnetIds

        public VpcEndpointState.Builder subnetIds​(java.util.List<java.lang.String> subnetIds)
        Parameters:
        subnetIds - ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type `GatewayLoadBalancer` and `Interface`. Interface type endpoints cannot function without being assigned to a subnet.
        Returns:
        builder
      • subnetIds

        public VpcEndpointState.Builder subnetIds​(java.lang.String... subnetIds)
        Parameters:
        subnetIds - ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type `GatewayLoadBalancer` and `Interface`. Interface type endpoints cannot function without being assigned to a subnet.
        Returns:
        builder
      • tags

        public VpcEndpointState.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public VpcEndpointState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public VpcEndpointState.Builder tagsAll​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public VpcEndpointState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • vpcEndpointType

        public VpcEndpointState.Builder vpcEndpointType​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> vpcEndpointType)
        Parameters:
        vpcEndpointType - VPC endpoint type, `Gateway`, `GatewayLoadBalancer`,`Interface`, `Resource` or `ServiceNetwork`. Defaults to `Gateway`.
        Returns:
        builder
      • vpcEndpointType

        public VpcEndpointState.Builder vpcEndpointType​(java.lang.String vpcEndpointType)
        Parameters:
        vpcEndpointType - VPC endpoint type, `Gateway`, `GatewayLoadBalancer`,`Interface`, `Resource` or `ServiceNetwork`. Defaults to `Gateway`.
        Returns:
        builder
      • vpcId

        public VpcEndpointState.Builder vpcId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> vpcId)
        Parameters:
        vpcId - ID of the VPC in which the endpoint will be used.
        Returns:
        builder
      • vpcId

        public VpcEndpointState.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - ID of the VPC in which the endpoint will be used.
        Returns:
        builder