Interface NetworkInterfacePrivateIpAddress.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkInterfacePrivateIpAddress.Builder,NetworkInterfacePrivateIpAddress>,SdkBuilder<NetworkInterfacePrivateIpAddress.Builder,NetworkInterfacePrivateIpAddress>,SdkPojo
- Enclosing class:
- NetworkInterfacePrivateIpAddress
public static interface NetworkInterfacePrivateIpAddress.Builder extends SdkPojo, CopyableBuilder<NetworkInterfacePrivateIpAddress.Builder,NetworkInterfacePrivateIpAddress>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NetworkInterfacePrivateIpAddress.Builderassociation(Consumer<NetworkInterfaceAssociation.Builder> association)The association information for an Elastic IP address (IPv4) associated with the network interface.NetworkInterfacePrivateIpAddress.Builderassociation(NetworkInterfaceAssociation association)The association information for an Elastic IP address (IPv4) associated with the network interface.NetworkInterfacePrivateIpAddress.Builderprimary(Boolean primary)Indicates whether this IPv4 address is the primary private IPv4 address of the network interface.NetworkInterfacePrivateIpAddress.BuilderprivateDnsName(String privateDnsName)The private DNS name.NetworkInterfacePrivateIpAddress.BuilderprivateIpAddress(String privateIpAddress)The private IPv4 address.-
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
-
association
NetworkInterfacePrivateIpAddress.Builder association(NetworkInterfaceAssociation association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
- Parameters:
association- The association information for an Elastic IP address (IPv4) associated with the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
association
default NetworkInterfacePrivateIpAddress.Builder association(Consumer<NetworkInterfaceAssociation.Builder> association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
This is a convenience method that creates an instance of theNetworkInterfaceAssociation.Builderavoiding the need to create one manually viaNetworkInterfaceAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociation(NetworkInterfaceAssociation).- Parameters:
association- a consumer that will call methods onNetworkInterfaceAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
association(NetworkInterfaceAssociation)
-
primary
NetworkInterfacePrivateIpAddress.Builder primary(Boolean primary)
Indicates whether this IPv4 address is the primary private IPv4 address of the network interface.
- Parameters:
primary- Indicates whether this IPv4 address is the primary private IPv4 address of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateDnsName
NetworkInterfacePrivateIpAddress.Builder privateDnsName(String privateDnsName)
The private DNS name.
- Parameters:
privateDnsName- The private DNS name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateIpAddress
NetworkInterfacePrivateIpAddress.Builder privateIpAddress(String privateIpAddress)
The private IPv4 address.
- Parameters:
privateIpAddress- The private IPv4 address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-