public static interface InstanceNetworkInterface.Builder extends SdkPojo, CopyableBuilder<InstanceNetworkInterface.Builder,InstanceNetworkInterface>
Modifier and Type | Method and Description |
---|---|
default InstanceNetworkInterface.Builder |
association(Consumer<InstanceNetworkInterfaceAssociation.Builder> association)
The association information for an Elastic IPv4 associated with the network interface.
|
InstanceNetworkInterface.Builder |
association(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IPv4 associated with the network interface.
|
default InstanceNetworkInterface.Builder |
attachment(Consumer<InstanceNetworkInterfaceAttachment.Builder> attachment)
The network interface attachment.
|
InstanceNetworkInterface.Builder |
attachment(InstanceNetworkInterfaceAttachment attachment)
The network interface attachment.
|
InstanceNetworkInterface.Builder |
description(String description)
The description.
|
InstanceNetworkInterface.Builder |
groups(Collection<GroupIdentifier> groups)
One or more security groups.
|
InstanceNetworkInterface.Builder |
groups(Consumer<GroupIdentifier.Builder>... groups)
One or more security groups.
|
InstanceNetworkInterface.Builder |
groups(GroupIdentifier... groups)
One or more security groups.
|
InstanceNetworkInterface.Builder |
interfaceType(String interfaceType)
The type of network interface.
|
InstanceNetworkInterface.Builder |
ipv4Prefixes(Collection<InstanceIpv4Prefix> ipv4Prefixes)
The IPv4 delegated prefixes that are assigned to the network interface.
|
InstanceNetworkInterface.Builder |
ipv4Prefixes(Consumer<InstanceIpv4Prefix.Builder>... ipv4Prefixes)
The IPv4 delegated prefixes that are assigned to the network interface.
|
InstanceNetworkInterface.Builder |
ipv4Prefixes(InstanceIpv4Prefix... ipv4Prefixes)
The IPv4 delegated prefixes that are assigned to the network interface.
|
InstanceNetworkInterface.Builder |
ipv6Addresses(Collection<InstanceIpv6Address> ipv6Addresses)
One or more IPv6 addresses associated with the network interface.
|
InstanceNetworkInterface.Builder |
ipv6Addresses(Consumer<InstanceIpv6Address.Builder>... ipv6Addresses)
One or more IPv6 addresses associated with the network interface.
|
InstanceNetworkInterface.Builder |
ipv6Addresses(InstanceIpv6Address... ipv6Addresses)
One or more IPv6 addresses associated with the network interface.
|
InstanceNetworkInterface.Builder |
ipv6Prefixes(Collection<InstanceIpv6Prefix> ipv6Prefixes)
The IPv6 delegated prefixes that are assigned to the network interface.
|
InstanceNetworkInterface.Builder |
ipv6Prefixes(Consumer<InstanceIpv6Prefix.Builder>... ipv6Prefixes)
The IPv6 delegated prefixes that are assigned to the network interface.
|
InstanceNetworkInterface.Builder |
ipv6Prefixes(InstanceIpv6Prefix... ipv6Prefixes)
The IPv6 delegated prefixes that are assigned to the network interface.
|
InstanceNetworkInterface.Builder |
macAddress(String macAddress)
The MAC address.
|
InstanceNetworkInterface.Builder |
networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
InstanceNetworkInterface.Builder |
ownerId(String ownerId)
The ID of the Amazon Web Services account that created the network interface.
|
InstanceNetworkInterface.Builder |
privateDnsName(String privateDnsName)
The private DNS name.
|
InstanceNetworkInterface.Builder |
privateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
|
InstanceNetworkInterface.Builder |
privateIpAddresses(Collection<InstancePrivateIpAddress> privateIpAddresses)
One or more private IPv4 addresses associated with the network interface.
|
InstanceNetworkInterface.Builder |
privateIpAddresses(Consumer<InstancePrivateIpAddress.Builder>... privateIpAddresses)
One or more private IPv4 addresses associated with the network interface.
|
InstanceNetworkInterface.Builder |
privateIpAddresses(InstancePrivateIpAddress... privateIpAddresses)
One or more private IPv4 addresses associated with the network interface.
|
InstanceNetworkInterface.Builder |
sourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
|
InstanceNetworkInterface.Builder |
status(NetworkInterfaceStatus status)
The status of the network interface.
|
InstanceNetworkInterface.Builder |
status(String status)
The status of the network interface.
|
InstanceNetworkInterface.Builder |
subnetId(String subnetId)
The ID of the subnet.
|
InstanceNetworkInterface.Builder |
vpcId(String vpcId)
The ID of the VPC.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
InstanceNetworkInterface.Builder association(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IPv4 associated with the network interface.
association
- The association information for an Elastic IPv4 associated with the network interface.default InstanceNetworkInterface.Builder association(Consumer<InstanceNetworkInterfaceAssociation.Builder> association)
The association information for an Elastic IPv4 associated with the network interface.
This is a convenience method that creates an instance of theInstanceNetworkInterfaceAssociation.Builder
avoiding the need to create one manually via
InstanceNetworkInterfaceAssociation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to association(InstanceNetworkInterfaceAssociation)
.association
- a consumer that will call methods on InstanceNetworkInterfaceAssociation.Builder
association(InstanceNetworkInterfaceAssociation)
InstanceNetworkInterface.Builder attachment(InstanceNetworkInterfaceAttachment attachment)
The network interface attachment.
attachment
- The network interface attachment.default InstanceNetworkInterface.Builder attachment(Consumer<InstanceNetworkInterfaceAttachment.Builder> attachment)
The network interface attachment.
This is a convenience method that creates an instance of theInstanceNetworkInterfaceAttachment.Builder
avoiding the need to create one manually via
InstanceNetworkInterfaceAttachment.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to attachment(InstanceNetworkInterfaceAttachment)
.attachment
- a consumer that will call methods on InstanceNetworkInterfaceAttachment.Builder
attachment(InstanceNetworkInterfaceAttachment)
InstanceNetworkInterface.Builder description(String description)
The description.
description
- The description.InstanceNetworkInterface.Builder groups(Collection<GroupIdentifier> groups)
One or more security groups.
groups
- One or more security groups.InstanceNetworkInterface.Builder groups(GroupIdentifier... groups)
One or more security groups.
groups
- One or more security groups.InstanceNetworkInterface.Builder groups(Consumer<GroupIdentifier.Builder>... groups)
One or more security groups.
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)
InstanceNetworkInterface.Builder ipv6Addresses(Collection<InstanceIpv6Address> ipv6Addresses)
One or more IPv6 addresses associated with the network interface.
ipv6Addresses
- One or more IPv6 addresses associated with the network interface.InstanceNetworkInterface.Builder ipv6Addresses(InstanceIpv6Address... ipv6Addresses)
One or more IPv6 addresses associated with the network interface.
ipv6Addresses
- One or more IPv6 addresses associated with the network interface.InstanceNetworkInterface.Builder ipv6Addresses(Consumer<InstanceIpv6Address.Builder>... ipv6Addresses)
One or more IPv6 addresses 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 #ipv6Addresses(List)
.ipv6Addresses
- a consumer that will call methods on List.Builder
#ipv6Addresses(List)
InstanceNetworkInterface.Builder macAddress(String macAddress)
The MAC address.
macAddress
- The MAC address.InstanceNetworkInterface.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.InstanceNetworkInterface.Builder ownerId(String ownerId)
The ID of the Amazon Web Services account that created the network interface.
ownerId
- The ID of the Amazon Web Services account that created the network interface.InstanceNetworkInterface.Builder privateDnsName(String privateDnsName)
The private DNS name.
privateDnsName
- The private DNS name.InstanceNetworkInterface.Builder privateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
privateIpAddress
- The IPv4 address of the network interface within the subnet.InstanceNetworkInterface.Builder privateIpAddresses(Collection<InstancePrivateIpAddress> privateIpAddresses)
One or more private IPv4 addresses associated with the network interface.
privateIpAddresses
- One or more private IPv4 addresses associated with the network interface.InstanceNetworkInterface.Builder privateIpAddresses(InstancePrivateIpAddress... privateIpAddresses)
One or more private IPv4 addresses associated with the network interface.
privateIpAddresses
- One or more private IPv4 addresses associated with the network interface.InstanceNetworkInterface.Builder privateIpAddresses(Consumer<InstancePrivateIpAddress.Builder>... privateIpAddresses)
One or more private IPv4 addresses 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 #privateIpAddresses(List)
.privateIpAddresses
- a consumer that will call methods on List.Builder
#privateIpAddresses(List)
InstanceNetworkInterface.Builder sourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
sourceDestCheck
- Indicates whether source/destination checking is enabled.InstanceNetworkInterface.Builder status(String status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
,
NetworkInterfaceStatus
InstanceNetworkInterface.Builder status(NetworkInterfaceStatus status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
,
NetworkInterfaceStatus
InstanceNetworkInterface.Builder subnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.InstanceNetworkInterface.Builder vpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.InstanceNetworkInterface.Builder interfaceType(String interfaceType)
The type of network interface.
Valid values: interface
| efa
| trunk
interfaceType
- The type of network interface.
Valid values: interface
| efa
| trunk
InstanceNetworkInterface.Builder ipv4Prefixes(Collection<InstanceIpv4Prefix> ipv4Prefixes)
The IPv4 delegated prefixes that are assigned to the network interface.
ipv4Prefixes
- The IPv4 delegated prefixes that are assigned to the network interface.InstanceNetworkInterface.Builder ipv4Prefixes(InstanceIpv4Prefix... ipv4Prefixes)
The IPv4 delegated prefixes that are assigned to the network interface.
ipv4Prefixes
- The IPv4 delegated prefixes that are assigned to the network interface.InstanceNetworkInterface.Builder ipv4Prefixes(Consumer<InstanceIpv4Prefix.Builder>... ipv4Prefixes)
The IPv4 delegated prefixes that are assigned to 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 #ipv4Prefixes(List)
.ipv4Prefixes
- a consumer that will call methods on List.Builder
#ipv4Prefixes(List)
InstanceNetworkInterface.Builder ipv6Prefixes(Collection<InstanceIpv6Prefix> ipv6Prefixes)
The IPv6 delegated prefixes that are assigned to the network interface.
ipv6Prefixes
- The IPv6 delegated prefixes that are assigned to the network interface.InstanceNetworkInterface.Builder ipv6Prefixes(InstanceIpv6Prefix... ipv6Prefixes)
The IPv6 delegated prefixes that are assigned to the network interface.
ipv6Prefixes
- The IPv6 delegated prefixes that are assigned to the network interface.InstanceNetworkInterface.Builder ipv6Prefixes(Consumer<InstanceIpv6Prefix.Builder>... ipv6Prefixes)
The IPv6 delegated prefixes that are assigned to 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 #ipv6Prefixes(List)
.ipv6Prefixes
- a consumer that will call methods on List.Builder
#ipv6Prefixes(List)
Copyright © 2022. All rights reserved.