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