public static interface InstanceNetworkInterface.Builder extends 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 |
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 |
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 AWS 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 to validate network traffic to or from this network interface.
|
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.
|
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 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 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 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 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 AWS account that created the network interface.
ownerId
- The ID of the AWS 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 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 to validate network traffic to or from this network interface.
sourceDestCheck
- Indicates whether to validate network traffic to or from this network interface.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.