Interface CreateVpcEndpointRequest.Builder

    • Method Detail

      • dryRun

        CreateVpcEndpointRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcId

        CreateVpcEndpointRequest.Builder vpcId​(String vpcId)

        The ID of the VPC.

        Parameters:
        vpcId - The ID of the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceName

        CreateVpcEndpointRequest.Builder serviceName​(String serviceName)

        The name of the endpoint service.

        Parameters:
        serviceName - The name of the endpoint service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyDocument

        CreateVpcEndpointRequest.Builder policyDocument​(String policyDocument)

        (Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.

        Parameters:
        policyDocument - (Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routeTableIds

        CreateVpcEndpointRequest.Builder routeTableIds​(Collection<String> routeTableIds)

        (Gateway endpoint) The route table IDs.

        Parameters:
        routeTableIds - (Gateway endpoint) The route table IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routeTableIds

        CreateVpcEndpointRequest.Builder routeTableIds​(String... routeTableIds)

        (Gateway endpoint) The route table IDs.

        Parameters:
        routeTableIds - (Gateway endpoint) The route table IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetIds

        CreateVpcEndpointRequest.Builder subnetIds​(Collection<String> subnetIds)

        (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create endpoint network interfaces. For a Gateway Load Balancer endpoint, you can specify only one subnet.

        Parameters:
        subnetIds - (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create endpoint network interfaces. For a Gateway Load Balancer endpoint, you can specify only one subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetIds

        CreateVpcEndpointRequest.Builder subnetIds​(String... subnetIds)

        (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create endpoint network interfaces. For a Gateway Load Balancer endpoint, you can specify only one subnet.

        Parameters:
        subnetIds - (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create endpoint network interfaces. For a Gateway Load Balancer endpoint, you can specify only one subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        CreateVpcEndpointRequest.Builder securityGroupIds​(Collection<String> securityGroupIds)

        (Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC.

        Parameters:
        securityGroupIds - (Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        CreateVpcEndpointRequest.Builder securityGroupIds​(String... securityGroupIds)

        (Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC.

        Parameters:
        securityGroupIds - (Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipAddressType

        CreateVpcEndpointRequest.Builder ipAddressType​(String ipAddressType)

        The IP address type for the endpoint.

        Parameters:
        ipAddressType - The IP address type for the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpAddressType, IpAddressType
      • dnsOptions

        CreateVpcEndpointRequest.Builder dnsOptions​(DnsOptionsSpecification dnsOptions)

        The DNS options for the endpoint.

        Parameters:
        dnsOptions - The DNS options for the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        CreateVpcEndpointRequest.Builder clientToken​(String clientToken)

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

        Parameters:
        clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateDnsEnabled

        CreateVpcEndpointRequest.Builder privateDnsEnabled​(Boolean privateDnsEnabled)

        (Interface endpoint) Indicates whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, kinesis.us-east-1.amazonaws.com), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service.

        To use a private hosted zone, you must set the following VPC attributes to true: enableDnsHostnames and enableDnsSupport. Use ModifyVpcAttribute to set the VPC attributes.

        Default: true

        Parameters:
        privateDnsEnabled - (Interface endpoint) Indicates whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, kinesis.us-east-1.amazonaws.com), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service.

        To use a private hosted zone, you must set the following VPC attributes to true: enableDnsHostnames and enableDnsSupport. Use ModifyVpcAttribute to set the VPC attributes.

        Default: true

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSpecifications

        CreateVpcEndpointRequest.Builder tagSpecifications​(Collection<TagSpecification> tagSpecifications)

        The tags to associate with the endpoint.

        Parameters:
        tagSpecifications - The tags to associate with the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSpecifications

        CreateVpcEndpointRequest.Builder tagSpecifications​(TagSpecification... tagSpecifications)

        The tags to associate with the endpoint.

        Parameters:
        tagSpecifications - The tags to associate with the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetConfigurations

        CreateVpcEndpointRequest.Builder subnetConfigurations​(Collection<SubnetConfiguration> subnetConfigurations)

        The subnet configurations for the endpoint.

        Parameters:
        subnetConfigurations - The subnet configurations for the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetConfigurations

        CreateVpcEndpointRequest.Builder subnetConfigurations​(SubnetConfiguration... subnetConfigurations)

        The subnet configurations for the endpoint.

        Parameters:
        subnetConfigurations - The subnet configurations for the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.