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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AddressAttribute.BuilderallocationId(String allocationId)[EC2-VPC] The allocation ID.AddressAttribute.BuilderptrRecord(String ptrRecord)The pointer (PTR) record for the IP address.default AddressAttribute.BuilderptrRecordUpdate(Consumer<PtrUpdateStatus.Builder> ptrRecordUpdate)The updated PTR record for the IP address.AddressAttribute.BuilderptrRecordUpdate(PtrUpdateStatus ptrRecordUpdate)The updated PTR record for the IP address.AddressAttribute.BuilderpublicIp(String publicIp)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
publicIp
AddressAttribute.Builder publicIp(String 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
AddressAttribute.Builder allocationId(String 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
AddressAttribute.Builder ptrRecord(String 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
AddressAttribute.Builder ptrRecordUpdate(PtrUpdateStatus 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
default AddressAttribute.Builder ptrRecordUpdate(Consumer<PtrUpdateStatus.Builder> 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:
ptrRecordUpdate(PtrUpdateStatus)
-
-