public static class InstanceNetworkInterface.Builder extends Object
Constructor and Description |
---|
Builder() |
public InstanceNetworkInterface.Builder association(InstanceNetworkInterfaceAssociation association)
public InstanceNetworkInterface.Builder attachment(InstanceNetworkInterfaceAttachment attachment)
public InstanceNetworkInterface.Builder description(String description)
The description.
description
- the value to setpublic InstanceNetworkInterface.Builder securityGroups(List<GroupIdentifier> securityGroups)
The security groups.
securityGroups
- the value to setpublic InstanceNetworkInterface.Builder interfaceType(String interfaceType)
The type of network interface.
interfaceType
- the value to setpublic InstanceNetworkInterface.Builder ipv4Prefixes(List<String> ipv4Prefixes)
The IPv4 delegated prefixes that are assigned to the network interface.
ipv4Prefixes
- the value to setpublic InstanceNetworkInterface.Builder ipv6Addresses(List<String> ipv6Addresses)
The IPv6 addresses associated with the network interface.
ipv6Addresses
- the value to setpublic InstanceNetworkInterface.Builder ipv6Prefixes(List<String> ipv6Prefixes)
The IPv6 delegated prefixes that are assigned to the network interface.
ipv6Prefixes
- the value to setpublic InstanceNetworkInterface.Builder macAddress(String macAddress)
The MAC address.
macAddress
- the value to setpublic InstanceNetworkInterface.Builder networkInterfaceKey(String networkInterfaceKey)
The ID of the network interface.
networkInterfaceKey
- the value to setpublic InstanceNetworkInterface.Builder ownerKey(String ownerKey)
The ID of the AWS account that created the network interface.
ownerKey
- the value to setpublic InstanceNetworkInterface.Builder privateIpAddresses(List<InstancePrivateIpAddress> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
privateIpAddresses
- the value to setpublic InstanceNetworkInterface.Builder isSourceDestCheck(Boolean isSourceDestCheck)
Indicates whether source/destination checking is enabled.
isSourceDestCheck
- the value to setpublic InstanceNetworkInterface.Builder status(String status)
The status of the network interface.
status
- the value to setpublic InstanceNetworkInterface.Builder subnetKey(String subnetKey)
The ID of the subnet.
subnetKey
- the value to setpublic InstanceNetworkInterface build()
public InstanceNetworkInterface.Builder copy(InstanceNetworkInterface model)
Copyright © 2016–2024. All rights reserved.