Interface VpcEndpoint.Builder

    • Method Detail

      • vpcEndpointId

        VpcEndpoint.Builder vpcEndpointId​(String vpcEndpointId)

        The ID of the endpoint.

        Parameters:
        vpcEndpointId - The ID of the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcEndpointType

        VpcEndpoint.Builder vpcEndpointType​(String vpcEndpointType)

        The type of endpoint.

        Parameters:
        vpcEndpointType - The type of endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VpcEndpointType, VpcEndpointType
      • vpcId

        VpcEndpoint.Builder vpcId​(String vpcId)

        The ID of the VPC to which the endpoint is associated.

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

        VpcEndpoint.Builder serviceName​(String serviceName)

        The name of the service to which the endpoint is associated.

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

        VpcEndpoint.Builder state​(String state)

        The state of the endpoint.

        Parameters:
        state - The state of the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        State, State
      • state

        VpcEndpoint.Builder state​(State state)

        The state of the endpoint.

        Parameters:
        state - The state of the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        State, State
      • policyDocument

        VpcEndpoint.Builder policyDocument​(String policyDocument)

        The policy document associated with the endpoint, if applicable.

        Parameters:
        policyDocument - The policy document associated with the endpoint, if applicable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routeTableIds

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

        (Gateway endpoint) The IDs of the route tables associated with the endpoint.

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

        VpcEndpoint.Builder routeTableIds​(String... routeTableIds)

        (Gateway endpoint) The IDs of the route tables associated with the endpoint.

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

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

        (Interface endpoint) The subnets for the endpoint.

        Parameters:
        subnetIds - (Interface endpoint) The subnets for the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetIds

        VpcEndpoint.Builder subnetIds​(String... subnetIds)

        (Interface endpoint) The subnets for the endpoint.

        Parameters:
        subnetIds - (Interface endpoint) The subnets for the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        VpcEndpoint.Builder groups​(Collection<SecurityGroupIdentifier> groups)

        (Interface endpoint) Information about the security groups that are associated with the network interface.

        Parameters:
        groups - (Interface endpoint) Information about the security groups that are associated with the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        VpcEndpoint.Builder groups​(SecurityGroupIdentifier... groups)

        (Interface endpoint) Information about the security groups that are associated with the network interface.

        Parameters:
        groups - (Interface endpoint) Information about the security groups that are associated with the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipAddressType

        VpcEndpoint.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
      • ipAddressType

        VpcEndpoint.Builder ipAddressType​(IpAddressType 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

        VpcEndpoint.Builder dnsOptions​(DnsOptions 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.
      • privateDnsEnabled

        VpcEndpoint.Builder privateDnsEnabled​(Boolean privateDnsEnabled)

        (Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.

        Parameters:
        privateDnsEnabled - (Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requesterManaged

        VpcEndpoint.Builder requesterManaged​(Boolean requesterManaged)

        Indicates whether the endpoint is being managed by its service.

        Parameters:
        requesterManaged - Indicates whether the endpoint is being managed by its service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkInterfaceIds

        VpcEndpoint.Builder networkInterfaceIds​(Collection<String> networkInterfaceIds)

        (Interface endpoint) The network interfaces for the endpoint.

        Parameters:
        networkInterfaceIds - (Interface endpoint) The network interfaces for the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkInterfaceIds

        VpcEndpoint.Builder networkInterfaceIds​(String... networkInterfaceIds)

        (Interface endpoint) The network interfaces for the endpoint.

        Parameters:
        networkInterfaceIds - (Interface endpoint) The network interfaces for the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dnsEntries

        VpcEndpoint.Builder dnsEntries​(Collection<DnsEntry> dnsEntries)

        (Interface endpoint) The DNS entries for the endpoint.

        Parameters:
        dnsEntries - (Interface endpoint) The DNS entries for the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dnsEntries

        VpcEndpoint.Builder dnsEntries​(DnsEntry... dnsEntries)

        (Interface endpoint) The DNS entries for the endpoint.

        Parameters:
        dnsEntries - (Interface endpoint) The DNS entries for the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dnsEntries

        VpcEndpoint.Builder dnsEntries​(Consumer<DnsEntry.Builder>... dnsEntries)

        (Interface endpoint) The DNS entries for the endpoint.

        This is a convenience method that creates an instance of the DnsEntry.Builder avoiding the need to create one manually via DnsEntry.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #dnsEntries(List).

        Parameters:
        dnsEntries - a consumer that will call methods on DnsEntry.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #dnsEntries(java.util.Collection)
      • creationTimestamp

        VpcEndpoint.Builder creationTimestamp​(Instant creationTimestamp)

        The date and time that the endpoint was created.

        Parameters:
        creationTimestamp - The date and time that the endpoint was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        VpcEndpoint.Builder tags​(Collection<Tag> tags)

        The tags assigned to the endpoint.

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

        VpcEndpoint.Builder tags​(Tag... tags)

        The tags assigned to the endpoint.

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

        VpcEndpoint.Builder tags​(Consumer<Tag.Builder>... tags)

        The tags assigned to the endpoint.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • ownerId

        VpcEndpoint.Builder ownerId​(String ownerId)

        The ID of the Amazon Web Services account that owns the endpoint.

        Parameters:
        ownerId - The ID of the Amazon Web Services account that owns the endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastError

        VpcEndpoint.Builder lastError​(LastError lastError)

        The last error that occurred for endpoint.

        Parameters:
        lastError - The last error that occurred for endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.