public IpamDiscoveredPublicAddress withInstanceId(String instanceId) {
        setInstanceId(instanceId);
        return this;
    }
<p>
The instance ID of the instance the assigned IP address is assigned to.
</p>

@param instanceId
       The instance ID of the instance the assigned IP address is assigned to.
@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/IpamDiscoveredPublicAddress.java