Interface AddressAttribute.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AddressAttribute.Builder,
,AddressAttribute> SdkBuilder<AddressAttribute.Builder,
,AddressAttribute> SdkPojo
- Enclosing class:
AddressAttribute
public static interface AddressAttribute.Builder
extends SdkPojo, CopyableBuilder<AddressAttribute.Builder,AddressAttribute>
-
Method Summary
Modifier and TypeMethodDescriptionallocationId
(String allocationId) [EC2-VPC] The allocation ID.The pointer (PTR) record for the IP address.default AddressAttribute.Builder
ptrRecordUpdate
(Consumer<PtrUpdateStatus.Builder> ptrRecordUpdate) The updated PTR record for the IP address.ptrRecordUpdate
(PtrUpdateStatus ptrRecordUpdate) The updated PTR record for the IP address.The public IP 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, sdkFields
-
Method Details
-
publicIp
The public IP address.
- Parameters:
publicIp
- The public IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allocationId
[EC2-VPC] The allocation ID.
- Parameters:
allocationId
- [EC2-VPC] The allocation ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ptrRecord
The pointer (PTR) record for the IP address.
- Parameters:
ptrRecord
- The pointer (PTR) record for the IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ptrRecordUpdate
The updated PTR record for the IP address.
- Parameters:
ptrRecordUpdate
- The updated PTR record for the IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ptrRecordUpdate
The updated PTR record for the IP address.
This is a convenience method that creates an instance of thePtrUpdateStatus.Builder
avoiding the need to create one manually viaPtrUpdateStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toptrRecordUpdate(PtrUpdateStatus)
.- Parameters:
ptrRecordUpdate
- a consumer that will call methods onPtrUpdateStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-