Interface AwsEc2NetworkInterfaceDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEc2NetworkInterfaceDetails.Builder,AwsEc2NetworkInterfaceDetails>,SdkBuilder<AwsEc2NetworkInterfaceDetails.Builder,AwsEc2NetworkInterfaceDetails>,SdkPojo
- Enclosing class:
- AwsEc2NetworkInterfaceDetails
public static interface AwsEc2NetworkInterfaceDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2NetworkInterfaceDetails.Builder,AwsEc2NetworkInterfaceDetails>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
attachment
AwsEc2NetworkInterfaceDetails.Builder attachment(AwsEc2NetworkInterfaceAttachment attachment)
The network interface attachment.
- Parameters:
attachment- The network interface attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
default AwsEc2NetworkInterfaceDetails.Builder attachment(Consumer<AwsEc2NetworkInterfaceAttachment.Builder> attachment)
The network interface attachment.
This is a convenience method that creates an instance of theAwsEc2NetworkInterfaceAttachment.Builderavoiding the need to create one manually viaAwsEc2NetworkInterfaceAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachment(AwsEc2NetworkInterfaceAttachment).- Parameters:
attachment- a consumer that will call methods onAwsEc2NetworkInterfaceAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attachment(AwsEc2NetworkInterfaceAttachment)
-
networkInterfaceId
AwsEc2NetworkInterfaceDetails.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
- Parameters:
networkInterfaceId- The ID of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
AwsEc2NetworkInterfaceDetails.Builder securityGroups(Collection<AwsEc2NetworkInterfaceSecurityGroup> securityGroups)
Security groups for the network interface.
- Parameters:
securityGroups- Security groups for the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
AwsEc2NetworkInterfaceDetails.Builder securityGroups(AwsEc2NetworkInterfaceSecurityGroup... securityGroups)
Security groups for the network interface.
- Parameters:
securityGroups- Security groups for the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
AwsEc2NetworkInterfaceDetails.Builder securityGroups(Consumer<AwsEc2NetworkInterfaceSecurityGroup.Builder>... securityGroups)
Security groups for the network interface.
This is a convenience method that creates an instance of theAwsEc2NetworkInterfaceSecurityGroup.Builderavoiding the need to create one manually viaAwsEc2NetworkInterfaceSecurityGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#securityGroups(List.) - Parameters:
securityGroups- a consumer that will call methods onAwsEc2NetworkInterfaceSecurityGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#securityGroups(java.util.Collection)
-
sourceDestCheck
AwsEc2NetworkInterfaceDetails.Builder sourceDestCheck(Boolean sourceDestCheck)
Indicates whether traffic to or from the instance is validated.
- Parameters:
sourceDestCheck- Indicates whether traffic to or from the instance is validated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipV6Addresses
AwsEc2NetworkInterfaceDetails.Builder ipV6Addresses(Collection<AwsEc2NetworkInterfaceIpV6AddressDetail> ipV6Addresses)
The IPv6 addresses associated with the network interface.
- Parameters:
ipV6Addresses- The IPv6 addresses associated with the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipV6Addresses
AwsEc2NetworkInterfaceDetails.Builder ipV6Addresses(AwsEc2NetworkInterfaceIpV6AddressDetail... ipV6Addresses)
The IPv6 addresses associated with the network interface.
- Parameters:
ipV6Addresses- The IPv6 addresses associated with the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipV6Addresses
AwsEc2NetworkInterfaceDetails.Builder ipV6Addresses(Consumer<AwsEc2NetworkInterfaceIpV6AddressDetail.Builder>... ipV6Addresses)
The IPv6 addresses associated with the network interface.
This is a convenience method that creates an instance of theAwsEc2NetworkInterfaceIpV6AddressDetail.Builderavoiding the need to create one manually viaAwsEc2NetworkInterfaceIpV6AddressDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ipV6Addresses(List.) - Parameters:
ipV6Addresses- a consumer that will call methods onAwsEc2NetworkInterfaceIpV6AddressDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ipV6Addresses(java.util.Collection)
-
privateIpAddresses
AwsEc2NetworkInterfaceDetails.Builder privateIpAddresses(Collection<AwsEc2NetworkInterfacePrivateIpAddressDetail> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
- Parameters:
privateIpAddresses- The private IPv4 addresses associated with the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateIpAddresses
AwsEc2NetworkInterfaceDetails.Builder privateIpAddresses(AwsEc2NetworkInterfacePrivateIpAddressDetail... privateIpAddresses)
The private IPv4 addresses associated with the network interface.
- Parameters:
privateIpAddresses- The private IPv4 addresses associated with the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateIpAddresses
AwsEc2NetworkInterfaceDetails.Builder privateIpAddresses(Consumer<AwsEc2NetworkInterfacePrivateIpAddressDetail.Builder>... privateIpAddresses)
The private IPv4 addresses associated with the network interface.
This is a convenience method that creates an instance of theAwsEc2NetworkInterfacePrivateIpAddressDetail.Builderavoiding the need to create one manually viaAwsEc2NetworkInterfacePrivateIpAddressDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#privateIpAddresses(List.) - Parameters:
privateIpAddresses- a consumer that will call methods onAwsEc2NetworkInterfacePrivateIpAddressDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#privateIpAddresses(java.util.Collection)
-
publicDnsName
AwsEc2NetworkInterfaceDetails.Builder publicDnsName(String publicDnsName)
The public DNS name of the network interface.
- Parameters:
publicDnsName- The public DNS name of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicIp
AwsEc2NetworkInterfaceDetails.Builder publicIp(String publicIp)
The address of the Elastic IP address bound to the network interface.
- Parameters:
publicIp- The address of the Elastic IP address bound to the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-