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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VpcEndpoint.Builder
creationTimestamp(Instant creationTimestamp)
The date and time that the endpoint was created.VpcEndpoint.Builder
dnsEntries(Collection<DnsEntry> dnsEntries)
(Interface endpoint) The DNS entries for the endpoint.VpcEndpoint.Builder
dnsEntries(Consumer<DnsEntry.Builder>... dnsEntries)
(Interface endpoint) The DNS entries for the endpoint.VpcEndpoint.Builder
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.VpcEndpoint.Builder
dnsOptions(DnsOptions dnsOptions)
The DNS options for the endpoint.VpcEndpoint.Builder
groups(Collection<SecurityGroupIdentifier> groups)
(Interface endpoint) Information about the security groups that are associated with the network interface.VpcEndpoint.Builder
groups(Consumer<SecurityGroupIdentifier.Builder>... groups)
(Interface endpoint) Information about the security groups that are associated with the network interface.VpcEndpoint.Builder
groups(SecurityGroupIdentifier... groups)
(Interface endpoint) Information about the security groups that are associated with the network interface.VpcEndpoint.Builder
ipAddressType(String ipAddressType)
The IP address type for the endpoint.VpcEndpoint.Builder
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.VpcEndpoint.Builder
lastError(LastError lastError)
The last error that occurred for endpoint.VpcEndpoint.Builder
networkInterfaceIds(String... networkInterfaceIds)
(Interface endpoint) The network interfaces for the endpoint.VpcEndpoint.Builder
networkInterfaceIds(Collection<String> networkInterfaceIds)
(Interface endpoint) The network interfaces for the endpoint.VpcEndpoint.Builder
ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the endpoint.VpcEndpoint.Builder
policyDocument(String policyDocument)
The policy document associated with the endpoint, if applicable.VpcEndpoint.Builder
privateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.VpcEndpoint.Builder
requesterManaged(Boolean requesterManaged)
Indicates whether the endpoint is being managed by its service.VpcEndpoint.Builder
routeTableIds(String... routeTableIds)
(Gateway endpoint) The IDs of the route tables associated with the endpoint.VpcEndpoint.Builder
routeTableIds(Collection<String> routeTableIds)
(Gateway endpoint) The IDs of the route tables associated with the endpoint.VpcEndpoint.Builder
serviceName(String serviceName)
The name of the service to which the endpoint is associated.VpcEndpoint.Builder
state(String state)
The state of the endpoint.VpcEndpoint.Builder
state(State state)
The state of the endpoint.VpcEndpoint.Builder
subnetIds(String... subnetIds)
(Interface endpoint) The subnets for the endpoint.VpcEndpoint.Builder
subnetIds(Collection<String> subnetIds)
(Interface endpoint) The subnets for the endpoint.VpcEndpoint.Builder
tags(Collection<Tag> tags)
The tags assigned to the endpoint.VpcEndpoint.Builder
tags(Consumer<Tag.Builder>... tags)
The tags assigned to the endpoint.VpcEndpoint.Builder
tags(Tag... tags)
The tags assigned to the endpoint.VpcEndpoint.Builder
vpcEndpointId(String vpcEndpointId)
The ID of the endpoint.VpcEndpoint.Builder
vpcEndpointType(String vpcEndpointType)
The type of endpoint.VpcEndpoint.Builder
vpcEndpointType(VpcEndpointType vpcEndpointType)
The type of endpoint.VpcEndpoint.Builder
vpcId(String vpcId)
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 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
-
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:
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.
-
state
VpcEndpoint.Builder state(State state)
The state of the endpoint.
-
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.
-
groups
VpcEndpoint.Builder groups(Consumer<SecurityGroupIdentifier.Builder>... 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 to#groups(List
.) - 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:
#groups(java.util.Collection
)
-
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.
-
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 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:
dnsOptions(DnsOptions)
-
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 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 to#dnsEntries(List
.) - 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:
#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 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 to#tags(List
.) - 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:
#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.
-
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 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:
lastError(LastError)
-
-