public Address withAllocationId(String allocationId) {
        setAllocationId(allocationId);
        return this;
    }
<p>
The ID representing the allocation of the address.
</p>

@param allocationId
       The ID representing the allocation of the address.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/Address.java