Interface NatGatewayAddress.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<NatGatewayAddress.Builder,NatGatewayAddress>
,SdkBuilder<NatGatewayAddress.Builder,NatGatewayAddress>
,SdkPojo
- Enclosing class:
- NatGatewayAddress
public static interface NatGatewayAddress.Builder extends SdkPojo, CopyableBuilder<NatGatewayAddress.Builder,NatGatewayAddress>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NatGatewayAddress.Builder
allocationId(String allocationId)
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.NatGatewayAddress.Builder
associationId(String associationId)
[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.NatGatewayAddress.Builder
failureMessage(String failureMessage)
The address failure message.NatGatewayAddress.Builder
isPrimary(Boolean isPrimary)
Defines if the IP address is the primary address.NatGatewayAddress.Builder
networkInterfaceId(String networkInterfaceId)
The ID of the network interface associated with the NAT gateway.NatGatewayAddress.Builder
privateIp(String privateIp)
The private IP address associated with the NAT gateway.NatGatewayAddress.Builder
publicIp(String publicIp)
[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.NatGatewayAddress.Builder
status(String status)
The address status.NatGatewayAddress.Builder
status(NatGatewayAddressStatus status)
The address status.-
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, sdkFields
-
-
-
-
Method Detail
-
allocationId
NatGatewayAddress.Builder allocationId(String allocationId)
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
- Parameters:
allocationId
- [Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaceId
NatGatewayAddress.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface associated with the NAT gateway.
- Parameters:
networkInterfaceId
- The ID of the network interface associated with the NAT gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateIp
NatGatewayAddress.Builder privateIp(String privateIp)
The private IP address associated with the NAT gateway.
- Parameters:
privateIp
- The private IP address associated with the NAT gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicIp
NatGatewayAddress.Builder publicIp(String publicIp)
[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.
- Parameters:
publicIp
- [Public NAT gateway only] The Elastic IP address associated with the NAT gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationId
NatGatewayAddress.Builder associationId(String associationId)
[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.
- Parameters:
associationId
- [Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPrimary
NatGatewayAddress.Builder isPrimary(Boolean isPrimary)
Defines if the IP address is the primary address.
- Parameters:
isPrimary
- Defines if the IP address is the primary address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMessage
NatGatewayAddress.Builder failureMessage(String failureMessage)
The address failure message.
- Parameters:
failureMessage
- The address failure message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
NatGatewayAddress.Builder status(String status)
The address status.
- Parameters:
status
- The address status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NatGatewayAddressStatus
,NatGatewayAddressStatus
-
status
NatGatewayAddress.Builder status(NatGatewayAddressStatus status)
The address status.
- Parameters:
status
- The address status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NatGatewayAddressStatus
,NatGatewayAddressStatus
-
-