public static interface VpcEndpoint.Builder extends SdkPojo, CopyableBuilder<VpcEndpoint.Builder,VpcEndpoint>
Modifier and Type | Method and 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(IpAddressType ipAddressType)
The IP address type for the endpoint.
|
VpcEndpoint.Builder |
ipAddressType(String 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(Collection<String> networkInterfaceIds)
(Interface endpoint) One or more network interfaces for the endpoint.
|
VpcEndpoint.Builder |
networkInterfaceIds(String... networkInterfaceIds)
(Interface endpoint) One or more 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(Collection<String> routeTableIds)
(Gateway endpoint) One or more route tables associated with the endpoint.
|
VpcEndpoint.Builder |
routeTableIds(String... routeTableIds)
(Gateway endpoint) One or more 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(State state)
The state of the endpoint.
|
VpcEndpoint.Builder |
state(String state)
The state of the endpoint.
|
VpcEndpoint.Builder |
subnetIds(Collection<String> subnetIds)
(Interface endpoint) The subnets for the endpoint.
|
VpcEndpoint.Builder |
subnetIds(String... subnetIds)
(Interface endpoint) The subnets for the endpoint.
|
VpcEndpoint.Builder |
tags(Collection<Tag> tags)
Any tags assigned to the endpoint.
|
VpcEndpoint.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the endpoint.
|
VpcEndpoint.Builder |
tags(Tag... tags)
Any 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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
VpcEndpoint.Builder vpcEndpointId(String vpcEndpointId)
The ID of the endpoint.
vpcEndpointId
- The ID of the endpoint.VpcEndpoint.Builder vpcEndpointType(String vpcEndpointType)
The type of endpoint.
vpcEndpointType
- The type of endpoint.VpcEndpointType
,
VpcEndpointType
VpcEndpoint.Builder vpcEndpointType(VpcEndpointType vpcEndpointType)
The type of endpoint.
vpcEndpointType
- The type of endpoint.VpcEndpointType
,
VpcEndpointType
VpcEndpoint.Builder vpcId(String vpcId)
The ID of the VPC to which the endpoint is associated.
vpcId
- The ID of the VPC to which the endpoint is associated.VpcEndpoint.Builder serviceName(String serviceName)
The name of the service to which the endpoint is associated.
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 policyDocument(String policyDocument)
The policy document associated with the endpoint, if applicable.
policyDocument
- The policy document associated with the endpoint, if applicable.VpcEndpoint.Builder routeTableIds(Collection<String> routeTableIds)
(Gateway endpoint) One or more route tables associated with the endpoint.
routeTableIds
- (Gateway endpoint) One or more route tables associated with the endpoint.VpcEndpoint.Builder routeTableIds(String... routeTableIds)
(Gateway endpoint) One or more route tables associated with the endpoint.
routeTableIds
- (Gateway endpoint) One or more route tables associated with the endpoint.VpcEndpoint.Builder subnetIds(Collection<String> subnetIds)
(Interface endpoint) The subnets for the endpoint.
subnetIds
- (Interface endpoint) The subnets for the endpoint.VpcEndpoint.Builder subnetIds(String... subnetIds)
(Interface endpoint) The subnets for the endpoint.
subnetIds
- (Interface endpoint) The subnets for the endpoint.VpcEndpoint.Builder groups(Collection<SecurityGroupIdentifier> groups)
(Interface endpoint) Information about the security groups that are associated with the network interface.
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.
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.
This is a convenience method that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #groups(List)
.groups
- a consumer that will call methods on List.Builder
#groups(List)
VpcEndpoint.Builder ipAddressType(String ipAddressType)
The IP address type for the endpoint.
ipAddressType
- The IP address type for the endpoint.IpAddressType
,
IpAddressType
VpcEndpoint.Builder ipAddressType(IpAddressType ipAddressType)
The IP address type for the endpoint.
ipAddressType
- The IP address type for the endpoint.IpAddressType
,
IpAddressType
VpcEndpoint.Builder dnsOptions(DnsOptions dnsOptions)
The DNS options for the endpoint.
dnsOptions
- The DNS options for the endpoint.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 via DnsOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to dnsOptions(DnsOptions)
.dnsOptions
- a consumer that will call methods on DnsOptions.Builder
dnsOptions(DnsOptions)
VpcEndpoint.Builder privateDnsEnabled(Boolean privateDnsEnabled)
(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.
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.
requesterManaged
- Indicates whether the endpoint is being managed by its service.VpcEndpoint.Builder networkInterfaceIds(Collection<String> networkInterfaceIds)
(Interface endpoint) One or more network interfaces for the endpoint.
networkInterfaceIds
- (Interface endpoint) One or more network interfaces for the endpoint.VpcEndpoint.Builder networkInterfaceIds(String... networkInterfaceIds)
(Interface endpoint) One or more network interfaces for the endpoint.
networkInterfaceIds
- (Interface endpoint) One or more network interfaces for the endpoint.VpcEndpoint.Builder dnsEntries(Collection<DnsEntry> dnsEntries)
(Interface endpoint) The DNS entries for the endpoint.
dnsEntries
- (Interface endpoint) The DNS entries for the endpoint.VpcEndpoint.Builder dnsEntries(DnsEntry... dnsEntries)
(Interface endpoint) The DNS entries for the endpoint.
dnsEntries
- (Interface endpoint) The DNS entries for the endpoint.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 theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #dnsEntries(List)
.dnsEntries
- a consumer that will call methods on List.Builder
#dnsEntries(List)
VpcEndpoint.Builder creationTimestamp(Instant creationTimestamp)
The date and time that the endpoint was created.
creationTimestamp
- The date and time that the endpoint was created.VpcEndpoint.Builder tags(Collection<Tag> tags)
Any tags assigned to the endpoint.
tags
- Any tags assigned to the endpoint.VpcEndpoint.Builder tags(Tag... tags)
Any tags assigned to the endpoint.
tags
- Any tags assigned to the endpoint.VpcEndpoint.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the endpoint.
This is a convenience method that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
VpcEndpoint.Builder ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the endpoint.
ownerId
- The ID of the Amazon Web Services account that owns the endpoint.VpcEndpoint.Builder lastError(LastError lastError)
The last error that occurred for endpoint.
lastError
- The last error that occurred for endpoint.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 via LastError.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to lastError(LastError)
.lastError
- a consumer that will call methods on LastError.Builder
lastError(LastError)
Copyright © 2022. All rights reserved.