Interface VpcEndpoint.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcEndpoint.Builder,
,VpcEndpoint> SdkBuilder<VpcEndpoint.Builder,
,VpcEndpoint> SdkPojo
- Enclosing class:
VpcEndpoint
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimestamp
(Instant creationTimestamp) The date and time that the endpoint was created.dnsEntries
(Collection<DnsEntry> dnsEntries) (Interface endpoint) The DNS entries for the endpoint.dnsEntries
(Consumer<DnsEntry.Builder>... dnsEntries) (Interface endpoint) The DNS entries for the endpoint.dnsEntries
(DnsEntry... dnsEntries) (Interface endpoint) The DNS entries for the endpoint.default VpcEndpoint.Builder
dnsOptions
(Consumer<DnsOptions.Builder> dnsOptions) The DNS options for the endpoint.dnsOptions
(DnsOptions dnsOptions) The DNS options for the endpoint.groups
(Collection<SecurityGroupIdentifier> groups) (Interface endpoint) Information about the security groups that are associated with the network interface.groups
(Consumer<SecurityGroupIdentifier.Builder>... groups) (Interface endpoint) Information about the security groups that are associated with the network interface.groups
(SecurityGroupIdentifier... groups) (Interface endpoint) Information about the security groups that are associated with the network interface.ipAddressType
(String ipAddressType) The IP address type for the endpoint.ipAddressType
(IpAddressType ipAddressType) The IP address type for the endpoint.default VpcEndpoint.Builder
lastError
(Consumer<LastError.Builder> lastError) The last error that occurred for endpoint.The last error that occurred for endpoint.networkInterfaceIds
(String... networkInterfaceIds) (Interface endpoint) The network interfaces for the endpoint.networkInterfaceIds
(Collection<String> networkInterfaceIds) (Interface endpoint) The network interfaces for the endpoint.The ID of the Amazon Web Services account that owns the endpoint.policyDocument
(String policyDocument) The policy document associated with the endpoint, if applicable.privateDnsEnabled
(Boolean privateDnsEnabled) (Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.requesterManaged
(Boolean requesterManaged) Indicates whether the endpoint is being managed by its service.routeTableIds
(String... routeTableIds) (Gateway endpoint) The IDs of the route tables associated with the endpoint.routeTableIds
(Collection<String> routeTableIds) (Gateway endpoint) The IDs of the route tables associated with the endpoint.serviceName
(String serviceName) The name of the service to which the endpoint is associated.The state of the endpoint.The state of the endpoint.(Interface endpoint) The subnets for the endpoint.subnetIds
(Collection<String> subnetIds) (Interface endpoint) The subnets for the endpoint.tags
(Collection<Tag> tags) The tags assigned to the endpoint.tags
(Consumer<Tag.Builder>... tags) The tags assigned to the endpoint.The tags assigned to the endpoint.vpcEndpointId
(String vpcEndpointId) The ID of the endpoint.vpcEndpointType
(String vpcEndpointType) The type of endpoint.vpcEndpointType
(VpcEndpointType vpcEndpointType) The type of endpoint.The ID of the VPC to which the endpoint is associated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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
(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
(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
(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
(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 theSecurityGroupIdentifier.Builder
avoiding the need to create one manually viaSecurityGroupIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroups(List<SecurityGroupIdentifier>)
.- Parameters:
groups
- a consumer that will call methods onSecurityGroupIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
The DNS options for the endpoint.
This is a convenience method that creates an instance of theDnsOptions.Builder
avoiding the need to create one manually viaDnsOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todnsOptions(DnsOptions)
.- Parameters:
dnsOptions
- a consumer that will call methods onDnsOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
(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
(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
(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
(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
(Interface endpoint) The DNS entries for the endpoint.
This is a convenience method that creates an instance of theDnsEntry.Builder
avoiding the need to create one manually viaDnsEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todnsEntries(List<DnsEntry>)
.- Parameters:
dnsEntries
- a consumer that will call methods onDnsEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
The last error that occurred for endpoint.
This is a convenience method that creates an instance of theLastError.Builder
avoiding the need to create one manually viaLastError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastError(LastError)
.- Parameters:
lastError
- a consumer that will call methods onLastError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-