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)
The security groups.
|
InstanceNetworkInterface.Builder |
groups(Consumer<GroupIdentifier.Builder>... groups)
The security groups.
|
InstanceNetworkInterface.Builder |
groups(GroupIdentifier... groups)
The 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)
The IPv6 addresses associated with the network interface.
|
InstanceNetworkInterface.Builder |
ipv6Addresses(Consumer<InstanceIpv6Address.Builder>... ipv6Addresses)
The IPv6 addresses associated with the network interface.
|
InstanceNetworkInterface.Builder |
ipv6Addresses(InstanceIpv6Address... ipv6Addresses)
The 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)
The private IPv4 addresses associated with the network interface.
|
InstanceNetworkInterface.Builder |
privateIpAddresses(Consumer<InstancePrivateIpAddress.Builder>... privateIpAddresses)
The private IPv4 addresses associated with the network interface.
|
InstanceNetworkInterface.Builder |
privateIpAddresses(InstancePrivateIpAddress... privateIpAddresses)
The 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, sdkFieldscopyapplyMutation, buildInstanceNetworkInterface.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.Builderassociation(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.Builderattachment(InstanceNetworkInterfaceAttachment)InstanceNetworkInterface.Builder description(String description)
The description.
description - The description.InstanceNetworkInterface.Builder groups(Collection<GroupIdentifier> groups)
The security groups.
groups - The security groups.InstanceNetworkInterface.Builder groups(GroupIdentifier... groups)
The security groups.
groups - The security groups.InstanceNetworkInterface.Builder groups(Consumer<GroupIdentifier.Builder>... groups)
The security groups.
This is a convenience method that creates an instance of theGroupIdentifier.Builder avoiding the need to create one
manually via GroupIdentifier.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #groups(List.
groups - a consumer that will call methods on
GroupIdentifier.Builder#groups(java.util.Collection) InstanceNetworkInterface.Builder ipv6Addresses(Collection<InstanceIpv6Address> ipv6Addresses)
The IPv6 addresses associated with the network interface.
ipv6Addresses - The IPv6 addresses associated with the network interface.InstanceNetworkInterface.Builder ipv6Addresses(InstanceIpv6Address... ipv6Addresses)
The IPv6 addresses associated with the network interface.
ipv6Addresses - The IPv6 addresses associated with the network interface.InstanceNetworkInterface.Builder ipv6Addresses(Consumer<InstanceIpv6Address.Builder>... ipv6Addresses)
The IPv6 addresses associated with the network interface.
This is a convenience method that creates an instance of theInstanceIpv6Address.Builder avoiding the need to create one
manually via InstanceIpv6Address.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #ipv6Addresses(List.
ipv6Addresses - a consumer that will call methods on
InstanceIpv6Address.Builder#ipv6Addresses(java.util.Collection) 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)
The private IPv4 addresses associated with the network interface.
privateIpAddresses - The private IPv4 addresses associated with the network interface.InstanceNetworkInterface.Builder privateIpAddresses(InstancePrivateIpAddress... privateIpAddresses)
The private IPv4 addresses associated with the network interface.
privateIpAddresses - The private IPv4 addresses associated with the network interface.InstanceNetworkInterface.Builder privateIpAddresses(Consumer<InstancePrivateIpAddress.Builder>... privateIpAddresses)
The private IPv4 addresses associated with the network interface.
This is a convenience method that creates an instance of theInstancePrivateIpAddress.Builder avoiding the need to
create one manually via InstancePrivateIpAddress.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #privateIpAddresses(List.
privateIpAddresses - a consumer that will call methods on
InstancePrivateIpAddress.Builder#privateIpAddresses(java.util.Collection) 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,
NetworkInterfaceStatusInstanceNetworkInterface.Builder status(NetworkInterfaceStatus status)
The status of the network interface.
status - The status of the network interface.NetworkInterfaceStatus,
NetworkInterfaceStatusInstanceNetworkInterface.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 theInstanceIpv4Prefix.Builder avoiding the need to create one
manually via InstanceIpv4Prefix.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #ipv4Prefixes(List.
ipv4Prefixes - a consumer that will call methods on
InstanceIpv4Prefix.Builder#ipv4Prefixes(java.util.Collection) 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 theInstanceIpv6Prefix.Builder avoiding the need to create one
manually via InstanceIpv6Prefix.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #ipv6Prefixes(List.
ipv6Prefixes - a consumer that will call methods on
InstanceIpv6Prefix.Builder#ipv6Prefixes(java.util.Collection) Copyright © 2022. All rights reserved.