public IpamDiscoveredPublicAddress withAssociationStatus(IpamPublicAddressAssociationStatus associationStatus) {
        this.associationStatus = associationStatus.toString();
        return this;
    }
<p>
The association status.
</p>

@param associationStatus
       The association status.
@return Returns a reference to this object so that method calls can be chained together.
@see IpamPublicAddressAssociationStatus
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/IpamDiscoveredPublicAddress.java