Interface VpcEndpoint.Builder

All Superinterfaces:
Buildable, CopyableBuilder<VpcEndpoint.Builder,VpcEndpoint>, SdkBuilder<VpcEndpoint.Builder,VpcEndpoint>, SdkPojo
Enclosing class:
VpcEndpoint

public static interface VpcEndpoint.Builder extends SdkPojo, CopyableBuilder<VpcEndpoint.Builder,VpcEndpoint>
  • Method Details

    • 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

      VpcEndpoint.Builder vpcEndpointType(VpcEndpointType 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:
    • 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

      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

      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:
    • 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

      (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

      (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

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

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to groups(List<SecurityGroupIdentifier>).

      Parameters:
      groups - a consumer that will call methods on SecurityGroupIdentifier.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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.
    • dnsOptions

      default VpcEndpoint.Builder dnsOptions(Consumer<DnsOptions.Builder> dnsOptions)

      The DNS options for the endpoint.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dnsOptions(DnsOptions).

      Parameters:
      dnsOptions - a consumer that will call methods on DnsOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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<DnsEntry>).

      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:
    • 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

      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

      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<Tag>).

      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:
    • 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.
    • lastError

      default VpcEndpoint.Builder lastError(Consumer<LastError.Builder> lastError)

      The last error that occurred for endpoint.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lastError(LastError).

      Parameters:
      lastError - a consumer that will call methods on LastError.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: