Interface AddressAttribute.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AddressAttribute.Builder,,AddressAttribute> SdkBuilder<AddressAttribute.Builder,,AddressAttribute> SdkPojo
- Enclosing class:
AddressAttribute
@Mutable
@NotThreadSafe
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.BuilderptrRecordUpdate(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaPtrUpdateStatus.builder().When the
Consumercompletes,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:
-